CMSIS-Driver  
Peripheral Interface for Middleware and Application Code
 
Loading...
Searching...
No Matches
SPI Mode Controls

Specifies SPI mode. More...

Macros

#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)
 

Description

Specifies SPI mode.

Macro Definition Documentation

◆ ARM_SPI_MODE_INACTIVE

#define ARM_SPI_MODE_INACTIVE   (0x00UL << ARM_SPI_CONTROL_Pos)

SPI Inactive.

See also
ARM_SPI_Control

◆ ARM_SPI_MODE_MASTER

#define ARM_SPI_MODE_MASTER   (0x01UL << ARM_SPI_CONTROL_Pos)

SPI Master (Output on MOSI, Input on MISO); arg = Bus Speed in bps.

See also
ARM_SPI_Control

◆ ARM_SPI_MODE_SLAVE

#define ARM_SPI_MODE_SLAVE   (0x02UL << ARM_SPI_CONTROL_Pos)

SPI Slave (Output on MISO, Input on MOSI)

See also
ARM_SPI_Control