libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
Collaboration diagram for SPI data size:

Macros

#define SPI_CR2_DS_4BIT   (0x3 << 8)
 
#define SPI_CR2_DS_5BIT   (0x4 << 8)
 
#define SPI_CR2_DS_6BIT   (0x5 << 8)
 
#define SPI_CR2_DS_7BIT   (0x6 << 8)
 
#define SPI_CR2_DS_8BIT   (0x7 << 8)
 
#define SPI_CR2_DS_9BIT   (0x8 << 8)
 
#define SPI_CR2_DS_10BIT   (0x9 << 8)
 
#define SPI_CR2_DS_11BIT   (0xA << 8)
 
#define SPI_CR2_DS_12BIT   (0xB << 8)
 
#define SPI_CR2_DS_13BIT   (0xC << 8)
 
#define SPI_CR2_DS_14BIT   (0xD << 8)
 
#define SPI_CR2_DS_15BIT   (0xE << 8)
 
#define SPI_CR2_DS_16BIT   (0xF << 8)
 

Detailed Description

Macro Definition Documentation

◆ SPI_CR2_DS_10BIT

#define SPI_CR2_DS_10BIT   (0x9 << 8)

Definition at line 80 of file spi_common_v2.h.

◆ SPI_CR2_DS_11BIT

#define SPI_CR2_DS_11BIT   (0xA << 8)

Definition at line 81 of file spi_common_v2.h.

◆ SPI_CR2_DS_12BIT

#define SPI_CR2_DS_12BIT   (0xB << 8)

Definition at line 82 of file spi_common_v2.h.

◆ SPI_CR2_DS_13BIT

#define SPI_CR2_DS_13BIT   (0xC << 8)

Definition at line 83 of file spi_common_v2.h.

◆ SPI_CR2_DS_14BIT

#define SPI_CR2_DS_14BIT   (0xD << 8)

Definition at line 84 of file spi_common_v2.h.

◆ SPI_CR2_DS_15BIT

#define SPI_CR2_DS_15BIT   (0xE << 8)

Definition at line 85 of file spi_common_v2.h.

◆ SPI_CR2_DS_16BIT

#define SPI_CR2_DS_16BIT   (0xF << 8)

Definition at line 86 of file spi_common_v2.h.

◆ SPI_CR2_DS_4BIT

#define SPI_CR2_DS_4BIT   (0x3 << 8)

Definition at line 74 of file spi_common_v2.h.

◆ SPI_CR2_DS_5BIT

#define SPI_CR2_DS_5BIT   (0x4 << 8)

Definition at line 75 of file spi_common_v2.h.

◆ SPI_CR2_DS_6BIT

#define SPI_CR2_DS_6BIT   (0x5 << 8)

Definition at line 76 of file spi_common_v2.h.

◆ SPI_CR2_DS_7BIT

#define SPI_CR2_DS_7BIT   (0x6 << 8)

Definition at line 77 of file spi_common_v2.h.

◆ SPI_CR2_DS_8BIT

#define SPI_CR2_DS_8BIT   (0x7 << 8)

Definition at line 78 of file spi_common_v2.h.

◆ SPI_CR2_DS_9BIT

#define SPI_CR2_DS_9BIT   (0x8 << 8)

Definition at line 79 of file spi_common_v2.h.