Go to the source code of this file.
|
#define | SPI_CPHA 0x01 |
|
#define | SPI_CPOL 0x02 |
|
#define | SPI_MODE_0 (0 | 0) |
|
#define | SPI_MODE_1 (0 | SPI_CPHA) |
|
#define | SPI_MODE_2 (SPI_CPOL | 0) |
|
#define | SPI_MODE_3 (SPI_CPOL | SPI_CPHA) |
|
#define | SPI_CS_HIGH 0x04 |
|
#define | SPI_LSB_FIRST 0x08 |
|
#define | SPI_NO_CS 0x40 |
|
#define | SPI_READY 0x80 |
|
#define | SPI_IOC_MAGIC 'k' |
|
#define | SPI_IOC_MESSAGE(__N) _IOC(_IOC_WRITE, SPI_IOC_MAGIC, 0, __N) |
|
#define | SPI_IOC_RD_MODE _IOR(SPI_IOC_MAGIC, 1, uint8_t) |
|
#define | SPI_IOC_WR_MODE _IOW(SPI_IOC_MAGIC, 1, uint8_t) |
|
#define | SPI_IOC_RD_LSB_FIRST _IOR(SPI_IOC_MAGIC, 2, uint8_t) |
|
#define | SPI_IOC_WR_LSB_FIRST _IOW(SPI_IOC_MAGIC, 2, uint8_t) |
|
#define | SPI_IOC_RD_BITS_PER_WORD _IOR(SPI_IOC_MAGIC, 3, uint8_t) |
|
#define | SPI_IOC_WR_BITS_PER_WORD _IOW(SPI_IOC_MAGIC, 3, uint8_t) |
|
#define | SPI_IOC_RD_MAX_SPEED_HZ _IOR(SPI_IOC_MAGIC, 4, uint32_t) |
|
#define | SPI_IOC_WR_MAX_SPEED_HZ _IOW(SPI_IOC_MAGIC, 4, uint32_t) |
|
#define | SPI_IOC_RD_MODE32 _IOR(SPI_IOC_MAGIC, 5, uint32_t) |
|
#define | SPI_IOC_WR_MODE32 _IOW(SPI_IOC_MAGIC, 5, uint32_t) |
|
◆ SPI_CPHA
◆ SPI_CPOL
◆ SPI_MODE_0
#define SPI_MODE_0 (0 | 0) |
◆ SPI_MODE_1
◆ SPI_MODE_2
◆ SPI_MODE_3
◆ SPI_CS_HIGH
◆ SPI_LSB_FIRST
#define SPI_LSB_FIRST 0x08 |
◆ SPI_NO_CS
◆ SPI_READY
◆ SPI_IOC_MAGIC
#define SPI_IOC_MAGIC 'k' |
◆ SPI_IOC_MESSAGE
◆ SPI_IOC_RD_MODE
◆ SPI_IOC_WR_MODE
◆ SPI_IOC_RD_LSB_FIRST
◆ SPI_IOC_WR_LSB_FIRST
◆ SPI_IOC_RD_BITS_PER_WORD
◆ SPI_IOC_WR_BITS_PER_WORD
◆ SPI_IOC_RD_MAX_SPEED_HZ
◆ SPI_IOC_WR_MAX_SPEED_HZ
◆ SPI_IOC_RD_MODE32
◆ SPI_IOC_WR_MODE32