/* Returns the UART hardware flow control mode currently in use. */
unsigned long UARTFlowControlGet(unsigned long ulBase)
/* Returns the UART hardware flow control mode currently in use. */
unsigned long UARTFlowControlGet(unsigned long ulBase)
{
    ASSERT(!CLASS_IS_SANDSTORM && !CLASS_IS_FURY && !CLASS_IS_DUSTDEVIL);
    ASSERT((ulBase == UART0_BASE) || (ulBase == UART1_BASE) ||
           (ulBase == UART2_BASE));
    return(HWREG(ulBase + UART_O_CTL) & (UART_FLOWCONTROL_TX |
                                         UART_FLOWCONTROL_RX));
}