/* Check whether there is any data pending on the RX buffer.  */
uint8_t uartRxBufferDataPending()
/* Check whether there is any data pending on the RX buffer.  */
uint8_t uartRxBufferDataPending()
{
  uart_pcb_t *pcb = uartGetPCB();
  if (pcb->rxfifo.len != 0)
  {
    return 1;
  }
  return 0;
}