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.

Table 16-40. Parameters
Data directionParameter nameDescription

[in]

module

Pointer to peripheral module

Returns

Peripheral sync status.

Table 16-41. Return Values
Return valueDescription

true

Peripheral is busy syncing

false

Peripheral is not busy syncing and can be read/written without stalling the bus