PSOC E8XXGP Device Support Library

| PSOC E8XXGP Device Support Library

Macros
SPI Callback Events
PDL API Reference » SCB (Serial Communication Block) » SPI (SCB) » Macros

## General Description

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.

## Macros
#define | CY_SCB_SPI_TRANSFER_IN_FIFO_EVENT (0x01U)
| All data elements specified by Cy_SCB_SPI_Transfer for transmission have been loaded into the TX FIFO.
#define | CY_SCB_SPI_TRANSFER_CMPLT_EVENT (0x02U)
| The transfer operation started by Cy_SCB_SPI_Transfer is complete.
#define | CY_SCB_SPI_TRANSFER_ERR_EVENT (0x04U)
| An error occurred during the transfer. More...

## Macro Definition Documentation

## ◆ CY_SCB_SPI_TRANSFER_ERR_EVENT

#define CY_SCB_SPI_TRANSFER_ERR_EVENT (0x04U)

An error occurred during the transfer.

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