/* Gets the states of the DTR and RTS modem control signals. */
unsigned long UARTModemControlGet(unsigned long ulBase)
/* Gets the states of the DTR and RTS modem control signals. */
unsigned long UARTModemControlGet(unsigned long ulBase)
{
    ASSERT(!CLASS_IS_SANDSTORM && !CLASS_IS_FURY && !CLASS_IS_DUSTDEVIL);
    ASSERT(ulBase == UART1_BASE);
    return(HWREG(ulBase + UART_O_CTL) & (UART_OUTPUT_RTS | UART_OUTPUT_DTR));
}