19.6.5.2 Enum spi_callback

Callbacks for SPI callback driver.

Note: For slave mode, these callbacks will be called when a transaction is ended by the master pulling Slave Select high.
Table 19-59. Members
Enum valueDescription

SPI_CALLBACK_BUFFER_TRANSMITTED

Callback for buffer transmitted

SPI_CALLBACK_BUFFER_RECEIVED

Callback for buffer received

SPI_CALLBACK_BUFFER_TRANSCEIVED

Callback for buffers transceived

SPI_CALLBACK_ERROR

Callback for error

SPI_CALLBACK_SLAVE_TRANSMISSION_COMPLETE

Callback for transmission ended by master before the entire buffer was read or written from slave

SPI_CALLBACK_SLAVE_SELECT_LOW

Callback for slave select low

SPI_CALLBACK_COMBINED_ERROR

Callback for combined error happen