Macros
Datawidth
Peripheral Driver » LL Driver » SPI » Defines » SPI Exported Constants

## Macros
#define | LL_SPI_DATASIZE_4BIT (3UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)
#define | LL_SPI_DATASIZE_5BIT (4UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)
#define | LL_SPI_DATASIZE_6BIT (5UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)
#define | LL_SPI_DATASIZE_7BIT (6UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)
#define | LL_SPI_DATASIZE_8BIT (7UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)
#define | LL_SPI_DATASIZE_9BIT (8UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)
#define | LL_SPI_DATASIZE_10BIT (9UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)
#define | LL_SPI_DATASIZE_11BIT (10UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)
#define | LL_SPI_DATASIZE_12BIT (11UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)
#define | LL_SPI_DATASIZE_13BIT (12UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)
#define | LL_SPI_DATASIZE_14BIT (13UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)
#define | LL_SPI_DATASIZE_15BIT (14UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)
#define | LL_SPI_DATASIZE_16BIT (15UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)
#define | LL_SPI_DATASIZE_17BIT (16UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)
#define | LL_SPI_DATASIZE_18BIT (17UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)
#define | LL_SPI_DATASIZE_19BIT (18UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)
#define | LL_SPI_DATASIZE_20BIT (19UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)
#define | LL_SPI_DATASIZE_21BIT (20UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)
#define | LL_SPI_DATASIZE_22BIT (21UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)
#define | LL_SPI_DATASIZE_23BIT (22UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)
#define | LL_SPI_DATASIZE_24BIT (23UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)
#define | LL_SPI_DATASIZE_25BIT (24UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)
#define | LL_SPI_DATASIZE_26BIT (25UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)
#define | LL_SPI_DATASIZE_27BIT (26UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)
#define | LL_SPI_DATASIZE_28BIT (27UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)
#define | LL_SPI_DATASIZE_29BIT (28UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)
#define | LL_SPI_DATASIZE_30BIT (29UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)
#define | LL_SPI_DATASIZE_31BIT (30UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)
#define | LL_SPI_DATASIZE_32BIT (31UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)

## Detailed Description

## Macro Definition Documentation

## ◆ LL_SPI_DATASIZE_10BIT

#define LL_SPI_DATASIZE_10BIT (9UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)

Data length for SPI transfer: 10 bits

Definition at line 198 of file ll_spi.h.

## ◆ LL_SPI_DATASIZE_11BIT

#define LL_SPI_DATASIZE_11BIT (10UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)

Data length for SPI transfer: 11 bits

Definition at line 199 of file ll_spi.h.

## ◆ LL_SPI_DATASIZE_12BIT

#define LL_SPI_DATASIZE_12BIT (11UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)

Data length for SPI transfer: 12 bits

Definition at line 200 of file ll_spi.h.

## ◆ LL_SPI_DATASIZE_13BIT

#define LL_SPI_DATASIZE_13BIT (12UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)

Data length for SPI transfer: 13 bits

Definition at line 201 of file ll_spi.h.

## ◆ LL_SPI_DATASIZE_14BIT

#define LL_SPI_DATASIZE_14BIT (13UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)

Data length for SPI transfer: 14 bits

Definition at line 202 of file ll_spi.h.

## ◆ LL_SPI_DATASIZE_15BIT

#define LL_SPI_DATASIZE_15BIT (14UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)

Data length for SPI transfer: 15 bits

Definition at line 203 of file ll_spi.h.

## ◆ LL_SPI_DATASIZE_16BIT

#define LL_SPI_DATASIZE_16BIT (15UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)

Data length for SPI transfer: 16 bits

Definition at line 204 of file ll_spi.h.

## ◆ LL_SPI_DATASIZE_17BIT

#define LL_SPI_DATASIZE_17BIT (16UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)

Data length for SPI transfer: 17 bits

Definition at line 205 of file ll_spi.h.

## ◆ LL_SPI_DATASIZE_18BIT

#define LL_SPI_DATASIZE_18BIT (17UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)

Data length for SPI transfer: 18 bits

Definition at line 206 of file ll_spi.h.

## ◆ LL_SPI_DATASIZE_19BIT

#define LL_SPI_DATASIZE_19BIT (18UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)

Data length for SPI transfer: 19 bits

Definition at line 207 of file ll_spi.h.

## ◆ LL_SPI_DATASIZE_20BIT

#define LL_SPI_DATASIZE_20BIT (19UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)

Data length for SPI transfer: 20 bits

Definition at line 208 of file ll_spi.h.

## ◆ LL_SPI_DATASIZE_21BIT

#define LL_SPI_DATASIZE_21BIT (20UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)

Data length for SPI transfer: 21 bits

Definition at line 209 of file ll_spi.h.

## ◆ LL_SPI_DATASIZE_22BIT

#define LL_SPI_DATASIZE_22BIT (21UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)

Data length for SPI transfer: 22 bits

Definition at line 210 of file ll_spi.h.

## ◆ LL_SPI_DATASIZE_23BIT

#define LL_SPI_DATASIZE_23BIT (22UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)

Data length for SPI transfer: 23 bits

Definition at line 211 of file ll_spi.h.

## ◆ LL_SPI_DATASIZE_24BIT

#define LL_SPI_DATASIZE_24BIT (23UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)

Data length for SPI transfer: 24 bits

Definition at line 212 of file ll_spi.h.

## ◆ LL_SPI_DATASIZE_25BIT

#define LL_SPI_DATASIZE_25BIT (24UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)

Data length for SPI transfer: 25 bits

Definition at line 213 of file ll_spi.h.

## ◆ LL_SPI_DATASIZE_26BIT

#define LL_SPI_DATASIZE_26BIT (25UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)

Data length for SPI transfer: 26 bits

Definition at line 214 of file ll_spi.h.

## ◆ LL_SPI_DATASIZE_27BIT

#define LL_SPI_DATASIZE_27BIT (26UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)

Data length for SPI transfer: 27 bits

Definition at line 215 of file ll_spi.h.

## ◆ LL_SPI_DATASIZE_28BIT

#define LL_SPI_DATASIZE_28BIT (27UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)

Data length for SPI transfer: 28 bits

Definition at line 216 of file ll_spi.h.

## ◆ LL_SPI_DATASIZE_29BIT

#define LL_SPI_DATASIZE_29BIT (28UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)

Data length for SPI transfer: 29 bits

Definition at line 217 of file ll_spi.h.

## ◆ LL_SPI_DATASIZE_30BIT

#define LL_SPI_DATASIZE_30BIT (29UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)

Data length for SPI transfer: 30 bits

Definition at line 218 of file ll_spi.h.

## ◆ LL_SPI_DATASIZE_31BIT

#define LL_SPI_DATASIZE_31BIT (30UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)

Data length for SPI transfer: 31 bits

Definition at line 219 of file ll_spi.h.

## ◆ LL_SPI_DATASIZE_32BIT

#define LL_SPI_DATASIZE_32BIT (31UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)

Data length for SPI transfer: 32 bits

Definition at line 220 of file ll_spi.h.

## ◆ LL_SPI_DATASIZE_4BIT

#define LL_SPI_DATASIZE_4BIT (3UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)

Data length for SPI transfer: 4 bits

Definition at line 192 of file ll_spi.h.

## ◆ LL_SPI_DATASIZE_5BIT

#define LL_SPI_DATASIZE_5BIT (4UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)

Data length for SPI transfer: 5 bits

Definition at line 193 of file ll_spi.h.

## ◆ LL_SPI_DATASIZE_6BIT

#define LL_SPI_DATASIZE_6BIT (5UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)

Data length for SPI transfer: 6 bits

Definition at line 194 of file ll_spi.h.

## ◆ LL_SPI_DATASIZE_7BIT

#define LL_SPI_DATASIZE_7BIT (6UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)

Data length for SPI transfer: 7 bits

Definition at line 195 of file ll_spi.h.

## ◆ LL_SPI_DATASIZE_8BIT

#define LL_SPI_DATASIZE_8BIT (7UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)

Data length for SPI transfer: 8 bits

Definition at line 196 of file ll_spi.h.

## ◆ LL_SPI_DATASIZE_9BIT

#define LL_SPI_DATASIZE_9BIT (8UL << SPI_CTRL0_DATA_FRAME_SIZE_POS)

Data length for SPI transfer: 9 bits

Definition at line 197 of file ll_spi.h.