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

[in]

module

Pointer to the software instance struct

Returns

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

Table 2. Return Values
Return value Description

true

If the SPI module is ready to read data

false

If the SPI module is not ready to read data