usart_dma_set_mode

Set USART mode.

int32_t usart_dma_set_mode(
    struct usart_dma_descriptor *const descr,
    const enum usart_mode mode
)

Parameters

descr

Type: struct usart_dma_descriptor Struct *const

A USART descriptor which is used to communicate via USART

mode

Type: const enum usart_mode

A mode to set

Returns

Type: int32_t

The status of mode setting.