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

Defines the frame format. More...

Macros

#define ARM_SPI_CPOL0_CPHA0   (0UL << ARM_SPI_FRAME_FORMAT_Pos)
 Clock Polarity 0, Clock Phase 0 (default)
 
#define ARM_SPI_CPOL0_CPHA1   (1UL << ARM_SPI_FRAME_FORMAT_Pos)
 Clock Polarity 0, Clock Phase 1.
 
#define ARM_SPI_CPOL1_CPHA0   (2UL << ARM_SPI_FRAME_FORMAT_Pos)
 Clock Polarity 1, Clock Phase 0.
 
#define ARM_SPI_CPOL1_CPHA1   (3UL << ARM_SPI_FRAME_FORMAT_Pos)
 Clock Polarity 1, Clock Phase 1.
 
#define ARM_SPI_TI_SSI   (4UL << ARM_SPI_FRAME_FORMAT_Pos)
 Texas Instruments Frame Format.
 
#define ARM_SPI_MICROWIRE   (5UL << ARM_SPI_FRAME_FORMAT_Pos)
 National Semiconductor Microwire Frame Format.
 

Description

Defines the frame format.

Macro Definition Documentation

◆ ARM_SPI_CPOL0_CPHA0

#define ARM_SPI_CPOL0_CPHA0   (0UL << ARM_SPI_FRAME_FORMAT_Pos)

Clock Polarity 0, Clock Phase 0 (default)

See also
ARM_SPI_Control

◆ ARM_SPI_CPOL0_CPHA1

#define ARM_SPI_CPOL0_CPHA1   (1UL << ARM_SPI_FRAME_FORMAT_Pos)

Clock Polarity 0, Clock Phase 1.

See also
ARM_SPI_Control

◆ ARM_SPI_CPOL1_CPHA0

#define ARM_SPI_CPOL1_CPHA0   (2UL << ARM_SPI_FRAME_FORMAT_Pos)

Clock Polarity 1, Clock Phase 0.

See also
ARM_SPI_Control

◆ ARM_SPI_CPOL1_CPHA1

#define ARM_SPI_CPOL1_CPHA1   (3UL << ARM_SPI_FRAME_FORMAT_Pos)

Clock Polarity 1, Clock Phase 1.

See also
ARM_SPI_Control

◆ ARM_SPI_TI_SSI

#define ARM_SPI_TI_SSI   (4UL << ARM_SPI_FRAME_FORMAT_Pos)

Texas Instruments Frame Format.

See also
ARM_SPI_Control

◆ ARM_SPI_MICROWIRE

#define ARM_SPI_MICROWIRE   (5UL << ARM_SPI_FRAME_FORMAT_Pos)

National Semiconductor Microwire Frame Format.

See also
ARM_SPI_Control