usart_async_deinit

Deinitialize USART interface.

int32_t usart_async_deinit(
    struct usart_async_descriptor *const descr
)

This function deinitializes the given I/O descriptor. It checks if the given hardware is initialized and if the given hardware is permitted to be deinitialized.

Parameters

descr

Type: struct usart_async_descriptor Struct *const

A USART descriptor which is used to communicate via USART

Returns

Type: int32_t

De-initialization status.