38.2.2.10 usart_dma_set_parity
Set USART parity.
int32_t usart_dma_set_parity(
struct usart_dma_descriptor *const descr,
const enum usart_parity parity
)
Parameters
- descr
-
Type: struct usart_dma_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.