/* Determines if there are any characters in the receive FIFO. */
bool UARTCharsAvail(uint32_t ui32Base)
/* Determines if there are any characters in the receive FIFO. */
bool UARTCharsAvail(uint32_t ui32Base)
{
    ASSERT(_UARTBaseValid(ui32Base));
    return ((HWREG(ui32Base + UART_O_FR) & UART_FR_RXFE) ? false : true);
}