CMSIS-Driver
Version 2.05
Peripheral Interface for Middleware and Application Code
|
Specifies SPI mode. More...
Macros | |
#define | ARM_SPI_MODE_INACTIVE (0x00UL << ARM_SPI_CONTROL_Pos) |
SPI Inactive. More... | |
#define | ARM_SPI_MODE_MASTER (0x01UL << ARM_SPI_CONTROL_Pos) |
SPI Master (Output on MOSI, Input on MISO); arg = Bus Speed in bps. More... | |
#define | ARM_SPI_MODE_SLAVE (0x02UL << ARM_SPI_CONTROL_Pos) |
SPI Slave (Output on MISO, Input on MOSI) More... | |
#define | ARM_SPI_MODE_MASTER_SIMPLEX (0x03UL << ARM_SPI_CONTROL_Pos) |
SPI Master (Output/Input on MOSI); arg = Bus Speed in bps. More... | |
#define | ARM_SPI_MODE_SLAVE_SIMPLEX (0x04UL << ARM_SPI_CONTROL_Pos) |
SPI Slave (Output/Input on MISO) More... | |
Specifies SPI mode.
#define ARM_SPI_MODE_INACTIVE (0x00UL << ARM_SPI_CONTROL_Pos) |
SPI Inactive.
#define ARM_SPI_MODE_MASTER (0x01UL << ARM_SPI_CONTROL_Pos) |
SPI Master (Output on MOSI, Input on MISO); arg = Bus Speed in bps.
#define ARM_SPI_MODE_SLAVE (0x02UL << ARM_SPI_CONTROL_Pos) |
SPI Slave (Output on MISO, Input on MOSI)
#define ARM_SPI_MODE_MASTER_SIMPLEX (0x03UL << ARM_SPI_CONTROL_Pos) |
SPI Master (Output/Input on MOSI); arg = Bus Speed in bps.
#define ARM_SPI_MODE_SLAVE_SIMPLEX (0x04UL << ARM_SPI_CONTROL_Pos) |
SPI Slave (Output/Input on MISO)