/* USART Set receiver timeout value. 
Sets the receive timeout value in terms of number of bit duration. The RTOF usart_isr_rtof is set if, after the last received character, no new start bit is detected for more than the receive timeout value. */
void usart_set_rx_timeout_value(uint32_t usart, uint32_t value)
/* USART Set receiver timeout value. 
Sets the receive timeout value in terms of number of bit duration. The RTOF usart_isr_rtof is set if, after the last received character, no new start bit is detected for more than the receive timeout value. */
void usart_set_rx_timeout_value(uint32_t usart, uint32_t value)
{
	uint32_t reg;
	reg = USART_RTOR(usart) & ~USART_RTOR_RTO_MASK;
	reg |= (USART_RTOR_RTO_VAL(value) & USART_RTOR_RTO_MASK);
	USART_RTOR(usart) = reg;
}