/**\r
Write data to serial device. \r
\r
- If the buffer is NULL, then ASSERT(); \r
- if NumberOfBytes is zero, then ASSERT(). \r
-\r
@param Buffer Point of data buffer which need to be writed.\r
@param NumberOfBytes Number of output bytes which are cached in Buffer.\r
\r
/**\r
Read data from serial device and save the datas in buffer.\r
\r
- If the buffer is NULL, then ASSERT(); \r
- if NumberOfBytes is zero, then ASSERT(). \r
-\r
@param Buffer Point of data buffer which need to be writed.\r
@param NumberOfBytes Number of output bytes which are cached in Buffer.\r
\r