SERIAL_bRxQueueEmpty()
Explanation
The SERIAL library checks whether the reception from the UART is stored in the FIFO buffer.
To retrieve data from the FIFO buffer, use SERIAL_i16RxChar()
.
Argument
Type
Name
Remark
uint8
u8SerialPort
Serial port (E_AHI_UART_0 or E_AHI_UART_1 should be specified)
Returns
Type
Remark
bool_t
If TRUE
, there is received data in the FIFO queue managed by the SERIAL library. If FALSE
, there is still data in the queue.
Sample code
最終更新