PSoC 6 Peripheral Driver Library

General Description

API Reference

 SPI TX FIFO Statuses
 Macros to check SPI TX FIFO status returned by Cy_SCB_SPI_GetTxFifoStatus function or assign mask for Cy_SCB_SPI_ClearTxFifoStatus function.
 
 SPI RX FIFO Statuses
 Macros to check SPI RX FIFO status returned by Cy_SCB_SPI_GetRxFifoStatus function or assign mask for Cy_SCB_SPI_ClearRxFifoStatus function.
 
 SPI Master and Slave Statuses
 Macros to check SPI Mater and Slave status returned by Cy_SCB_SPI_GetSlaveMasterStatus function or assign mask for Cy_SCB_SPI_ClearSlaveMasterStatus function.
 
 SPI Transfer Status
 Macros to check current SPI transfer status returned by Cy_SCB_SPI_GetTransferStatus function.
 
 SPI Callback Events
 Macros to check SPI events passed by cy_cb_scb_spi_handle_events_t callback.
 

Macros

#define CY_SCB_SPI_DEFAULT_TX   (0x0000FFFFUL)
 Default TX value when no TX buffer is defined.
 
#define CY_SCB_SPI_RX_NO_DATA   (0xFFFFFFFFUL)
 Data returned by the hardware when an empty RX FIFO is read.