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