19.6.4.4.3 Function spi_is_ready_to_read()

Checks if the SPI module is ready to read data.

bool spi_is_ready_to_read( struct spi_module *const module)

This function will check if the SPI module is ready to read data.

Table 19-25. Parameters
Data directionParameter nameDescription

[in]

module

Pointer to the software instance struct

Returns

Indication of whether the module is ready to read data or not.

Table 19-26. Return Values
Return valueDescription

true

If the SPI module is ready to read data

false

If the SPI module is not ready to read data