STM32H735xx HAL User Manual
Defines
Data Width
SPI Exported Constants

Defines

#define LL_SPI_DATAWIDTH_4BIT   (SPI_CFG1_DSIZE_0 | SPI_CFG1_DSIZE_1)
#define LL_SPI_DATAWIDTH_5BIT   (SPI_CFG1_DSIZE_2)
#define LL_SPI_DATAWIDTH_6BIT   (SPI_CFG1_DSIZE_2 | SPI_CFG1_DSIZE_0)
#define LL_SPI_DATAWIDTH_7BIT   (SPI_CFG1_DSIZE_2 | SPI_CFG1_DSIZE_1)
#define LL_SPI_DATAWIDTH_8BIT   (SPI_CFG1_DSIZE_2 | SPI_CFG1_DSIZE_1 | SPI_CFG1_DSIZE_0)
#define LL_SPI_DATAWIDTH_9BIT   (SPI_CFG1_DSIZE_3)
#define LL_SPI_DATAWIDTH_10BIT   (SPI_CFG1_DSIZE_3 | SPI_CFG1_DSIZE_0)
#define LL_SPI_DATAWIDTH_11BIT   (SPI_CFG1_DSIZE_3 | SPI_CFG1_DSIZE_1)
#define LL_SPI_DATAWIDTH_12BIT   (SPI_CFG1_DSIZE_3 | SPI_CFG1_DSIZE_1 | SPI_CFG1_DSIZE_0)
#define LL_SPI_DATAWIDTH_13BIT   (SPI_CFG1_DSIZE_3 | SPI_CFG1_DSIZE_2)
#define LL_SPI_DATAWIDTH_14BIT   (SPI_CFG1_DSIZE_3 | SPI_CFG1_DSIZE_2 | SPI_CFG1_DSIZE_0)
#define LL_SPI_DATAWIDTH_15BIT   (SPI_CFG1_DSIZE_3 | SPI_CFG1_DSIZE_2 | SPI_CFG1_DSIZE_1)
#define LL_SPI_DATAWIDTH_16BIT
#define LL_SPI_DATAWIDTH_17BIT   (SPI_CFG1_DSIZE_4)
#define LL_SPI_DATAWIDTH_18BIT   (SPI_CFG1_DSIZE_4 | SPI_CFG1_DSIZE_0)
#define LL_SPI_DATAWIDTH_19BIT   (SPI_CFG1_DSIZE_4 | SPI_CFG1_DSIZE_1)
#define LL_SPI_DATAWIDTH_20BIT   (SPI_CFG1_DSIZE_4 | SPI_CFG1_DSIZE_0 | SPI_CFG1_DSIZE_1)
#define LL_SPI_DATAWIDTH_21BIT   (SPI_CFG1_DSIZE_4 | SPI_CFG1_DSIZE_2)
#define LL_SPI_DATAWIDTH_22BIT   (SPI_CFG1_DSIZE_4 | SPI_CFG1_DSIZE_2 | SPI_CFG1_DSIZE_0)
#define LL_SPI_DATAWIDTH_23BIT   (SPI_CFG1_DSIZE_4 | SPI_CFG1_DSIZE_2 | SPI_CFG1_DSIZE_1)
#define LL_SPI_DATAWIDTH_24BIT
#define LL_SPI_DATAWIDTH_25BIT   (SPI_CFG1_DSIZE_4 | SPI_CFG1_DSIZE_3)
#define LL_SPI_DATAWIDTH_26BIT   (SPI_CFG1_DSIZE_4 | SPI_CFG1_DSIZE_3 | SPI_CFG1_DSIZE_0)
#define LL_SPI_DATAWIDTH_27BIT   (SPI_CFG1_DSIZE_4 | SPI_CFG1_DSIZE_3 | SPI_CFG1_DSIZE_1)
#define LL_SPI_DATAWIDTH_28BIT
#define LL_SPI_DATAWIDTH_29BIT   (SPI_CFG1_DSIZE_4 | SPI_CFG1_DSIZE_3 | SPI_CFG1_DSIZE_2)
#define LL_SPI_DATAWIDTH_30BIT
#define LL_SPI_DATAWIDTH_31BIT
#define LL_SPI_DATAWIDTH_32BIT

Define Documentation

#define LL_SPI_DATAWIDTH_10BIT   (SPI_CFG1_DSIZE_3 | SPI_CFG1_DSIZE_0)

Definition at line 369 of file stm32h7xx_ll_spi.h.

#define LL_SPI_DATAWIDTH_11BIT   (SPI_CFG1_DSIZE_3 | SPI_CFG1_DSIZE_1)

Definition at line 370 of file stm32h7xx_ll_spi.h.

#define LL_SPI_DATAWIDTH_12BIT   (SPI_CFG1_DSIZE_3 | SPI_CFG1_DSIZE_1 | SPI_CFG1_DSIZE_0)

Definition at line 371 of file stm32h7xx_ll_spi.h.

#define LL_SPI_DATAWIDTH_13BIT   (SPI_CFG1_DSIZE_3 | SPI_CFG1_DSIZE_2)

Definition at line 372 of file stm32h7xx_ll_spi.h.

#define LL_SPI_DATAWIDTH_14BIT   (SPI_CFG1_DSIZE_3 | SPI_CFG1_DSIZE_2 | SPI_CFG1_DSIZE_0)

Definition at line 373 of file stm32h7xx_ll_spi.h.

#define LL_SPI_DATAWIDTH_15BIT   (SPI_CFG1_DSIZE_3 | SPI_CFG1_DSIZE_2 | SPI_CFG1_DSIZE_1)

Definition at line 374 of file stm32h7xx_ll_spi.h.

Value:
(SPI_CFG1_DSIZE_3\
                                                    | SPI_CFG1_DSIZE_2 | SPI_CFG1_DSIZE_1 | SPI_CFG1_DSIZE_0)

Definition at line 375 of file stm32h7xx_ll_spi.h.

#define LL_SPI_DATAWIDTH_17BIT   (SPI_CFG1_DSIZE_4)

Definition at line 377 of file stm32h7xx_ll_spi.h.

#define LL_SPI_DATAWIDTH_18BIT   (SPI_CFG1_DSIZE_4 | SPI_CFG1_DSIZE_0)

Definition at line 378 of file stm32h7xx_ll_spi.h.

#define LL_SPI_DATAWIDTH_19BIT   (SPI_CFG1_DSIZE_4 | SPI_CFG1_DSIZE_1)

Definition at line 379 of file stm32h7xx_ll_spi.h.

#define LL_SPI_DATAWIDTH_20BIT   (SPI_CFG1_DSIZE_4 | SPI_CFG1_DSIZE_0 | SPI_CFG1_DSIZE_1)

Definition at line 380 of file stm32h7xx_ll_spi.h.

#define LL_SPI_DATAWIDTH_21BIT   (SPI_CFG1_DSIZE_4 | SPI_CFG1_DSIZE_2)

Definition at line 381 of file stm32h7xx_ll_spi.h.

#define LL_SPI_DATAWIDTH_22BIT   (SPI_CFG1_DSIZE_4 | SPI_CFG1_DSIZE_2 | SPI_CFG1_DSIZE_0)

Definition at line 382 of file stm32h7xx_ll_spi.h.

#define LL_SPI_DATAWIDTH_23BIT   (SPI_CFG1_DSIZE_4 | SPI_CFG1_DSIZE_2 | SPI_CFG1_DSIZE_1)

Definition at line 383 of file stm32h7xx_ll_spi.h.

Value:
(SPI_CFG1_DSIZE_4\
                                                    | SPI_CFG1_DSIZE_2 | SPI_CFG1_DSIZE_1 | SPI_CFG1_DSIZE_0)

Definition at line 384 of file stm32h7xx_ll_spi.h.

#define LL_SPI_DATAWIDTH_25BIT   (SPI_CFG1_DSIZE_4 | SPI_CFG1_DSIZE_3)

Definition at line 386 of file stm32h7xx_ll_spi.h.

#define LL_SPI_DATAWIDTH_26BIT   (SPI_CFG1_DSIZE_4 | SPI_CFG1_DSIZE_3 | SPI_CFG1_DSIZE_0)

Definition at line 387 of file stm32h7xx_ll_spi.h.

#define LL_SPI_DATAWIDTH_27BIT   (SPI_CFG1_DSIZE_4 | SPI_CFG1_DSIZE_3 | SPI_CFG1_DSIZE_1)

Definition at line 388 of file stm32h7xx_ll_spi.h.

Value:
(SPI_CFG1_DSIZE_4\
                                                    | SPI_CFG1_DSIZE_3 | SPI_CFG1_DSIZE_1 | SPI_CFG1_DSIZE_0)

Definition at line 389 of file stm32h7xx_ll_spi.h.

#define LL_SPI_DATAWIDTH_29BIT   (SPI_CFG1_DSIZE_4 | SPI_CFG1_DSIZE_3 | SPI_CFG1_DSIZE_2)

Definition at line 391 of file stm32h7xx_ll_spi.h.

Value:
(SPI_CFG1_DSIZE_4\
                                                    | SPI_CFG1_DSIZE_3 | SPI_CFG1_DSIZE_2 | SPI_CFG1_DSIZE_0)

Definition at line 392 of file stm32h7xx_ll_spi.h.

Value:
(SPI_CFG1_DSIZE_4\
                                                    | SPI_CFG1_DSIZE_3 | SPI_CFG1_DSIZE_2 | SPI_CFG1_DSIZE_1)

Definition at line 394 of file stm32h7xx_ll_spi.h.

Value:
(SPI_CFG1_DSIZE_4 | SPI_CFG1_DSIZE_3\
                                                    | SPI_CFG1_DSIZE_2 | SPI_CFG1_DSIZE_1 | SPI_CFG1_DSIZE_0)

Definition at line 396 of file stm32h7xx_ll_spi.h.

#define LL_SPI_DATAWIDTH_4BIT   (SPI_CFG1_DSIZE_0 | SPI_CFG1_DSIZE_1)

Definition at line 363 of file stm32h7xx_ll_spi.h.

#define LL_SPI_DATAWIDTH_5BIT   (SPI_CFG1_DSIZE_2)

Definition at line 364 of file stm32h7xx_ll_spi.h.

#define LL_SPI_DATAWIDTH_6BIT   (SPI_CFG1_DSIZE_2 | SPI_CFG1_DSIZE_0)

Definition at line 365 of file stm32h7xx_ll_spi.h.

#define LL_SPI_DATAWIDTH_7BIT   (SPI_CFG1_DSIZE_2 | SPI_CFG1_DSIZE_1)

Definition at line 366 of file stm32h7xx_ll_spi.h.

#define LL_SPI_DATAWIDTH_8BIT   (SPI_CFG1_DSIZE_2 | SPI_CFG1_DSIZE_1 | SPI_CFG1_DSIZE_0)

Definition at line 367 of file stm32h7xx_ll_spi.h.

Referenced by LL_SPI_StructInit().

#define LL_SPI_DATAWIDTH_9BIT   (SPI_CFG1_DSIZE_3)

Definition at line 368 of file stm32h7xx_ll_spi.h.