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