19.6.4.8 Function spi_is_syncing()

Determines if the SPI module is currently synchronizing to the bus.

bool spi_is_syncing( struct spi_module *const module)

This function will check 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 the module until it is ready.

Table 19-54. Parameters
Data directionParameter nameDescription

[in]

module

SPI hardware module

Returns

Synchronization status of the underlying hardware module.

Table 19-55. Return Values
Return valueDescription

true

Module synchronization is ongoing

false

Module synchronization is not ongoing