/* Get to know the Rx FIFO is Empty or not from the specified port.  */
xtBoolean UARTFIFORxIsEmpty(unsigned long ulBase)
/* Get to know the Rx FIFO is Empty or not from the specified port.  */
xtBoolean UARTFIFORxIsEmpty(unsigned long ulBase)
{
    xASSERT(UARTBaseValid(ulBase));
    return((xHWREG(ulBase + USART_LSR) & USART_LSR_RXFIFO_READY) ? xfalse : xtrue);
}