16.6.4.11 Function usart_is_syncing()
Check if peripheral is busy syncing registers across clock domains.
bool usart_is_syncing( const struct usart_module *const module)
Return peripheral synchronization status. If doing a non-blocking implementation this function can be used to check the sync state and hold of any new actions until sync is complete. If this function is not run; the functions will block until the sync has completed.
Data direction | Parameter name | Description |
---|---|---|
[in] |
module |
Pointer to peripheral module |
Returns
Peripheral sync status.
Return value | Description |
---|---|
true |
Peripheral is busy syncing |
false |
Peripheral is not busy syncing and can be read/written without stalling the bus |