API for using SPI. More...
Classes | |
class | SPISettings |
SPI settings. More... | |
class | SPIClass |
SPI controller. More... | |
Macros | |
#define | SPI_HAS_TRANSACTION 1 |
#define | SPI_HAS_NOTUSINGINTERRUPT 1 |
#define | SPI_ATOMIC_VERSION 1 |
#define | SPI_MODE0 SPIDEV_MODE0 |
#define | SPI_MODE1 SPIDEV_MODE1 |
#define | SPI_MODE2 SPIDEV_MODE2 |
#define | SPI_MODE3 SPIDEV_MODE3 |
#define | SPI_CLOCK_DIV2 2 |
#define | SPI_CLOCK_DIV4 4 |
#define | SPI_CLOCK_DIV8 8 |
#define | SPI_CLOCK_DIV16 16 |
#define | SPI_CLOCK_DIV32 32 |
#define | SPI_CLOCK_DIV64 64 |
#define | SPI_CLOCK_DIV128 128 |
Enumerations | |
enum | SpiInterruptMode { SPI_INT_MODE_NONE = 0 , SPI_INT_MODE_MASK , SPI_INT_MODE_GLOBAL } |
Spi interrupt mode. More... | |
API for using SPI.
#define SPI_MODE0 SPIDEV_MODE0 |
SPI mode 0
#define SPI_MODE1 SPIDEV_MODE1 |
SPI mode 1
#define SPI_MODE2 SPIDEV_MODE2 |
SPI mode 2
#define SPI_MODE3 SPIDEV_MODE3 |
SPI mode 3
#define SPI_CLOCK_DIV2 2 |
SPI Clock Divider 2
#define SPI_CLOCK_DIV4 4 |
SPI Clock Divider 4
#define SPI_CLOCK_DIV8 8 |
SPI Clock Divider 8
#define SPI_CLOCK_DIV16 16 |
SPI Clock Divider 16
#define SPI_CLOCK_DIV32 32 |
SPI Clock Divider 32
#define SPI_CLOCK_DIV64 64 |
SPI Clock Divider 64
#define SPI_CLOCK_DIV128 128 |
SPI Clock Divider 128
enum SpiInterruptMode |