/* Gets the states of the RI, DCD, DSR and CTS modem status signals. */
uint32_t UARTModemStatusGet(uint32_t ui32Base)
/* Gets the states of the RI, DCD, DSR and CTS modem status signals. */
uint32_t UARTModemStatusGet(uint32_t ui32Base)
{
    ASSERT(ui32Base == UART1_BASE);
    return(HWREG(ui32Base + UART_O_FR) & (UART_INPUT_RI | UART_INPUT_DCD |
                                          UART_INPUT_CTS | UART_INPUT_DSR));
}