/* See mss_uart.h for details of how to use this function.  */
void MSS_UART_set_filter_length(mss_uart_instance_t *this_uart, mss_uart_filter_length_t length)
/* See mss_uart.h for details of how to use this function.  */
void MSS_UART_set_filter_length(mss_uart_instance_t *this_uart, mss_uart_filter_length_t length)
{
    ASSERT((this_uart == &g_mss_uart0) || (this_uart == &g_mss_uart1));
    ASSERT(MSS_UART_INVALID_FILTER_LENGTH > length);
    if(((this_uart == &g_mss_uart0) || (this_uart == &g_mss_uart1)) && 
       (MSS_UART_INVALID_FILTER_LENGTH > length))
    {
        this_uart->hw_reg->GFR = (uint8_t)length;
    }
}