/* Determines if there are any space in the transmit FIFO.  */
xtBoolean UARTFIFOTxIsEmpty(unsigned long ulBase)
/* Determines if there are any space in the transmit FIFO.  */
xtBoolean UARTFIFOTxIsEmpty(unsigned long ulBase)
{
    xASSERT(UARTBaseValid(ulBase));
	return (xHWREG(ulBase + USART_SR) & USART_SR_TXE); 
}