SPI Callback Events

group group_scb_spi_macros_callback_events

Macros to check SPI events passed by cy_cb_scb_spi_handle_events_t callback.

Note that only single event is notified by the callback when it is called.

Defines

CY_SCB_SPI_TRANSFER_IN_FIFO_EVENT

All data elements specified by Cy_SCB_SPI_Transfer for transmission have been loaded into the TX FIFO.

CY_SCB_SPI_TRANSFER_CMPLT_EVENT

The transfer operation started by Cy_SCB_SPI_Transfer is complete.

CY_SCB_SPI_TRANSFER_ERR_EVENT

An error occurred during the transfer.

This includes overflow, underflow and a transfer error. Check Cy_SCB_SPI_GetTransferStatus.