/* Waits to send a character from the specified port.  */
void UARTCharPut(unsigned long ulBase, unsigned char ucData)
/* Waits to send a character from the specified port.  */
void UARTCharPut(unsigned long ulBase, unsigned char ucData)
{
    xASSERT(UARTBaseValid(ulBase));
    while(!(xHWREG(ulBase + USART_LSR) & USART_LSR_TX_FIFO_EMPTY))
    {
    }
    xHWREG(ulBase + USART_THR) = ucData;
}