19.6.4.4.2 Function spi_is_ready_to_write()

Checks if the SPI module is ready to write data.

bool spi_is_ready_to_write( struct spi_module *const module)

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

Table 19-23. 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-24. Return Values
Return valueDescription

true

If the SPI module is ready to write data

false

If the SPI module is not ready to write data