/* Clear the fifo read and write pointers and set the length to zero.  */
void uartRxBufferClearFIFO()
/* Clear the fifo read and write pointers and set the length to zero.  */
void uartRxBufferClearFIFO()
{
  uart_pcb_t *pcb = uartGetPCB();
  pcb->rxfifo.rd_ptr = 0;
  pcb->rxfifo.wr_ptr = 0;
  pcb->rxfifo.len = 0;
}