SERIAL_i16RxChar()
Explanation
Retrieve one character from the FIFO queue.
Argument
Type | Name | Remark |
uint8 | u8SerialPort | Serial port (E_AHI_UART_0 or E_AHI_UART_1 should be specified) |
Returns
Typr | Remark |
int16 | A value of 0x00-0xFF indicates that a byte has been correctly retrieved, otherwise an error occurs. |
Sample code
最終更新