Register USART callback.
int32_t usart_async_register_callback( struct usart_async_descriptor *const descr, const enum usart_async_callback_type type, usart_cb_t cb )
Type: struct usart_async_descriptor Struct *const
A USART descriptor which is used to communicate via USART
Type: const enum usart_async_callback_type Enum
Callback type
Type: usart_cb_t typedef
A callback function
Type: int32_t
The status of callback assignment.
Passed parameters were invalid or the interface is not initialized
A callback is registered successfully