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 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 write data

false

If the SPI module is not ready to write data