/* See mss_uart.h for details of how to use this function.  */
uint8_t MSS_UART_get_modem_status(mss_uart_instance_t *this_uart)
/* See mss_uart.h for details of how to use this function.  */
uint8_t MSS_UART_get_modem_status(mss_uart_instance_t *this_uart)
{
    uint8_t status = MSS_UART_INVALID_PARAM;
    ASSERT((this_uart == &g_mss_uart0) || (this_uart == &g_mss_uart1));
    if((this_uart == &g_mss_uart0) || (this_uart == &g_mss_uart1))
    {
        status = this_uart->hw_reg->MSR;
    }
    return status;
}