PSoC 4 Peripheral Driver Library - Alpha
SPI Master and Slave Statuses

General Description

Macros to check SPI Mater and Slave status returned by Cy_SCB_SPI_GetSlaveMasterStatus function or assign mask for Cy_SCB_SPI_ClearSlaveMasterStatus function.

Macros

#define CY_SCB_SPI_SLAVE_ERR   (SCB_INTR_S_SPI_BUS_ERROR_Msk)
 The slave was deselected at the wrong time.
 
#define CY_SCB_SPI_MASTER_DONE   (SCB_INTR_M_SPI_DONE_Msk)
 The master has transmitted all data elements from FIFO and shifter.