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.
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.
Return value | Description |
---|---|
true |
If the SPI module is ready to write data |
false |
If the SPI module is not ready to write data |