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 1. Parameters
Data direction Parameter name Description

[in]

module

SPI hardware module

Returns

Synchronization status of the underlying hardware module.

Table 2. Return Values
Return value Description

true

Module synchronization is ongoing

false

Module synchronization is not ongoing