38.4.2.5 usart_sync_get_io_descriptor
Retrieve I/O descriptor.
int32_t usart_sync_get_io_descriptor(
struct usart_sync_descriptor *const descr,
struct io_descriptor ** io
)
This function retrieves the I/O descriptor of the given USART descriptor.
Parameters
- descr
-
Type: struct usart_sync_descriptor Struct *const
A USART descriptor which is used to communicate via USART
- io
-
Type: struct io_descriptor Struct **
An I/O descriptor to retrieve
Returns
Type: int32_t
The status of the I/O descriptor retrieving.