/* UART Set Hardware Flow Control. 
The flow control bit can be selected as none, RTS, CTS or RTS+CTS. */
void uart_set_flow_control(uint32_t uart, uint8_t flowcontrol)
/* UART Set Hardware Flow Control. 
The flow control bit can be selected as none, RTS, CTS or RTS+CTS. */
void uart_set_flow_control(uint32_t uart, uint8_t flowcontrol)
{
	uint8_t reg8;
	reg8 = UART_MODEM(uart);
	reg8 = (reg8 & ~UART_FLOWCONTROL_MASK) | flowcontrol;
	UART_MODEM(uart) = reg8;
}