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.
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 read data |
false |
If the SPI module is not ready to read data |