38.1.5.12 usart_async_set_stopbits
Set USART stop bits.
int32_t usart_async_set_stopbits(
struct usart_async_descriptor *const descr,
const enum usart_stop_bits stop_bits
)
Parameters
- descr
-
Type: struct usart_async_descriptor Struct *const
A USART descriptor which is used to communicate via USART
- stop_bits
-
Type: const enum usart_stop_bits
Stop bits to set
Returns
Type: int32_t
The status of stop bits setting.