|
enum | { SPI_CS_SHIFT = 24,
SPI_CLK_SHIFT = 16,
SPI_MOSI_SHIFT = 8,
SPI_MISO_SHIFT = 0
} |
|
enum | spi_interface_t { SPI1 = 0,
SPI2 = 1
} |
| SPI Interfaces. More...
|
|
enum | { SPI_MASTER = 1,
SPI_SLAVE = 2
} |
| SPI Device Role. More...
|
|
enum | SPI_MODE { SPI_MODE_0,
SPI_MODE_1,
SPI_MODE_2,
SPI_MODE_3
} |
|
enum | SPI_SS_POLARITY { SPI_SS_ACTIVE_LOW,
SPI_SS_ACTIVE_HIGH
} |
| Slave select polarity (output from master) More...
|
|
enum | SPI_ENDIAN { SPI_MSB_FIRST,
SPI_LSB_FIRST
} |
| SPI Endian: Direction of bit data flow (MSB or LSB first). More...
|
|
enum | SPI_SS_MODE { SPI_SS_NORMAL,
SPI_SS_INACTIVE_BTW_BYTES
} |
| Slave Select mode (output from master) More...
|
|
enum | { INPUT_PIN_PULL_UP = 0x0400,
INPUT_PIN_PULL_DOWN = 0x0200,
INPUT_PIN_FLOATING = 0x0
} |
|
enum | SPIFFY_STATUS { SPIFFY_SUCCESS,
SPIFFY_SLAVE_NOT_ENOUGH_RX_FIFO_BYTES
} |
| Return values. More...
|
|