25.6.4.1.1 Function tcc_is_syncing()
Determines if the hardware module is currently synchronizing to the bus.
bool tcc_is_syncing( const struct tcc_module *const module_inst)
Checks to see if the underlying hardware peripheral module is currently synchronizing across multiple clock domains to the hardware bus. This function can be used to delay further operations on a module until such time that it is ready, to prevent blocking delays for synchronization in the user application.
Data direction | Parameter name | Description |
---|---|---|
[in] |
module_inst |
Pointer to the software module instance struct |
Returns
Synchronization status of the underlying hardware module.
Return value | Description |
---|---|
false |
If the module has completed synchronization |
true |
If the module synchronization is ongoing |