/* USART Set Hardware Flow Control. 
The flow control bit can be selected as none, RTS, CTS or RTS+CTS. */
void usart_set_flow_control(uint32_t usart, uint32_t flowcontrol)
/* USART Set Hardware Flow Control. 
The flow control bit can be selected as none, RTS, CTS or RTS+CTS. */
void usart_set_flow_control(uint32_t usart, uint32_t flowcontrol)
{
	uint32_t reg32;
	reg32 = USART_CR3(usart);
	reg32 = (reg32 & ~USART_FLOWCONTROL_MASK) | flowcontrol;
	USART_CR3(usart) = reg32;
}