/* Sets the operating mode for the UART transmit interrupt. */
void UARTTxIntModeSet(unsigned long ulBase, unsigned long ulMode)
/* Sets the operating mode for the UART transmit interrupt. */
void UARTTxIntModeSet(unsigned long ulBase, unsigned long ulMode)
{
    ASSERT(UARTBaseValid(ulBase));
    ASSERT((ulMode == UART_TXINT_MODE_EOT) ||
           (ulMode == UART_TXINT_MODE_FIFO));
    HWREG(ulBase + UART_O_CTL) = ((HWREG(ulBase + UART_O_CTL) &
                                 ~(UART_TXINT_MODE_EOT |
                                   UART_TXINT_MODE_FIFO)) | ulMode);
}