|
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_parity_t {
CY_SCB_SPI_PARITY_NONE = 0U,
CY_SCB_SPI_PARITY_EVEN = 2U,
CY_SCB_SPI_PARITY_ODD = 3U
} |
| SPI Parity. More...
|
|
enum | cy_en_scb_spi_ss_setup_delay_t {
CY_SCB_SPI_SS_SETUP_DELAY_0_75_CYCLES = 0U,
CY_SCB_SPI_SS_SETUP_DELAY_1_75_CYCLES = 1U
} |
| Setup delay, between select activation and SCLK clock edge to sample the first MISO bit. More...
|
|
enum | cy_en_scb_spi_ss_hold_delay_t {
CY_SCB_SPI_SS_HOLD_DELAY_0_75_CYCLES = 0U,
CY_SCB_SPI_SS_HOLD_DELAY_1_75_CYCLES = 1U
} |
| Hold delay, between SPI clock edge to sample the last MISO bit, and SELECT deactivation. More...
|
|
enum | cy_en_scb_spi_ss_interframe_delay_t {
CY_SCB_SPI_SS_INTERFRAME_DELAY_1_5_CYCLES = 0U,
CY_SCB_SPI_SS_INTERFRAME_DELAY_2_5_CYCLES = 1U
} |
| Inter-dataframe delay, between SELECT activation and SCLK clock edge to sample the first MISO bit. More...
|
|