usart_async_get_status

Retrieve the current interface status.

int32_t usart_async_get_status(
    struct usart_async_descriptor *const descr,
    struct usart_async_status *const status
)

Parameters

descr

Type: struct usart_async_descriptor Struct *const

A USART descriptor which is used to communicate via USART

status

Type: struct usart_async_status Struct *const

The state of USART

Returns

Type: int32_t

The status of USART status retrieving.