/* Sets the UART hardware flow control mode to be used.  */
void UARTFlowControlSet(unsigned long ulBase, unsigned long ulMode)
/* Sets the UART hardware flow control mode to be used.  */
void UARTFlowControlSet(unsigned long ulBase, unsigned long ulMode)
{
    xASSERT((ulBase == UART0_BASE));
    xASSERT((ulMode & ~(UART_FLOWCONTROL_TX | UART_FLOWCONTROL_RX)) == 0);
    xHWREG(ulBase + UART_IER) = ((xHWREG(ulBase + UART_IER) &
                                 ~(UART_FLOWCONTROL_TX |
                                   UART_FLOWCONTROL_RX)) | ulMode);
}