Initialize USART interface.
int32_t usart_sync_init( struct usart_sync_descriptor *const descr, void *const hw, void *const func )
This function initializes the given I/O descriptor to be used as USART interface descriptor. It checks if the given hardware is not initialized and if the given hardware is permitted to be initialized.
Type: struct usart_sync_descriptor Struct *const
A USART descriptor which is used to communicate via USART
Type: void *const
The pointer to hardware instance
Type: void *const
The pointer to as set of functions pointers
Type: int32_t
Initialization status.