/* 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 + UART_FSR) & UART_FSR_RX_EF) ? xtrue : xfalse);
}