SPI Transfer Status¶
-
group
group_scb_spi_macros_xfer_status
Macros to check current SPI transfer status returned by Cy_SCB_SPI_GetTransferStatus function.
Each SPI transfer status is encoded in a separate bit, therefore multiple bits may be set to indicate the current status.
Defines
-
CY_SCB_SPI_TRANSFER_ACTIVE
Transfer operation started by Cy_SCB_SPI_Transfer is in progress.
-
CY_SCB_SPI_TRANSFER_IN_FIFO
All data elements specified by Cy_SCB_SPI_Transfer for transmission have been loaded into the TX FIFO.
-
CY_SCB_SPI_SLAVE_TRANSFER_ERR
The slave was deselected at the wrong time.
-
CY_SCB_SPI_TRANSFER_OVERFLOW
RX FIFO was full and there was an attempt to write to it.
This additional data was dropped.
-
CY_SCB_SPI_TRANSFER_UNDERFLOW
Applicable only for the slave mode.
The master tried to read more data elements than available in the TX FIFO.
-