Enumerations | |
enum | cy_en_scb_spi_status_t { CY_SCB_SPI_SUCCESS = 0U, CY_SCB_SPI_BAD_PARAM = (CY_SCB_ID | CY_PDL_STATUS_ERROR | CY_SCB_SPI_ID | 1U), CY_SCB_SPI_TRANSFER_BUSY = (CY_SCB_ID | CY_PDL_STATUS_ERROR | CY_SCB_SPI_ID | 2U) } |
SPI status codes. More... | |
enum | cy_en_scb_spi_mode_t { CY_SCB_SPI_SLAVE, CY_SCB_SPI_MASTER } |
SPI Modes. More... | |
enum | cy_en_scb_spi_sub_mode_t { CY_SCB_SPI_MOTOROLA = 0x0U, CY_SCB_SPI_TI_COINCIDES = 0x01U, CY_SCB_SPI_NATIONAL = 0x02U, CY_SCB_SPI_TI_PRECEDES = 0x05U } |
SPI Submodes. More... | |
enum | cy_en_scb_spi_sclk_mode_t { CY_SCB_SPI_CPHA0_CPOL0 = 0U, CY_SCB_SPI_CPHA1_CPOL0 = 1U, CY_SCB_SPI_CPHA0_CPOL1 = 2U, CY_SCB_SPI_CPHA1_CPOL1 = 3U } |
SPI SCLK Modes. More... | |
enum | cy_en_scb_spi_slave_select_t { CY_SCB_SPI_SLAVE_SELECT0 = 0U, CY_SCB_SPI_SLAVE_SELECT1 = 1U, CY_SCB_SPI_SLAVE_SELECT2 = 2U, CY_SCB_SPI_SLAVE_SELECT3 = 3U } |
SPI Slave Selects. More... | |
enum | cy_en_scb_spi_polarity_t { CY_SCB_SPI_ACTIVE_LOW = 0U, CY_SCB_SPI_ACTIVE_HIGH = 1U } |
SPI Polarity. More... | |
enum cy_en_scb_spi_mode_t |
SPI Submodes.
SPI SCLK Modes.