/* Gets the FIFO level at which interrupts are generated. */
void UARTFIFOLevelGet(unsigned long ulBase, unsigned long *pulTxLevel, unsigned long *pulRxLevel)
/* Gets the FIFO level at which interrupts are generated. */
void UARTFIFOLevelGet(unsigned long ulBase, unsigned long *pulTxLevel, unsigned long *pulRxLevel)
{
    unsigned long ulTemp;
    ASSERT(UARTBaseValid(ulBase));
    ulTemp = HWREG(ulBase + UART_O_IFLS);
    *pulTxLevel = ulTemp & UART_IFLS_TX_M;
    *pulRxLevel = ulTemp & UART_IFLS_RX_M;
}