Set USART mode.
int32_t usart_os_set_mode( struct usart_os_descriptor *const descr, const enum usart_mode mode )
Type: struct usart_os_descriptor Struct *const
A USART descriptor which is used to communicate via USART
Type: const enum usart_mode
A mode to set
Type: int32_t
The status of mode setting.
Passed parameters were invalid or the interface is not initialized
The flow control action is set successfully