/* Returns the current operating mode for the UART transmit interrupt. */
unsigned long UARTTxIntModeGet(unsigned long ulBase)
/* Returns the current operating mode for the UART transmit interrupt. */
unsigned long UARTTxIntModeGet(unsigned long ulBase)
{
    ASSERT((ulBase == UART0_BASE) || (ulBase == UART1_BASE) ||
           (ulBase == UART2_BASE));
    return(HWREG(ulBase + UART_O_CTL) & (UART_TXINT_MODE_EOT |
                                         UART_TXINT_MODE_FIFO));
}