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