38.1.5.11 usart_async_set_parity
Set USART parity.
int32_t usart_async_set_parity(
struct usart_async_descriptor *const descr,
const enum usart_parity parity
)
Parameters
- descr
-
Type: struct usart_async_descriptor Struct *const
A USART descriptor which is used to communicate via USART
- parity
-
Type: const enum usart_parity
A parity to set
Returns
Type: int32_t
The status of parity setting.