STM32F439xx HAL User Manual
Defines
Baud Rate Prescaler
SPI Exported Constants

Defines

#define LL_SPI_BAUDRATEPRESCALER_DIV2   0x00000000U
#define LL_SPI_BAUDRATEPRESCALER_DIV4   (SPI_CR1_BR_0)
#define LL_SPI_BAUDRATEPRESCALER_DIV8   (SPI_CR1_BR_1)
#define LL_SPI_BAUDRATEPRESCALER_DIV16   (SPI_CR1_BR_1 | SPI_CR1_BR_0)
#define LL_SPI_BAUDRATEPRESCALER_DIV32   (SPI_CR1_BR_2)
#define LL_SPI_BAUDRATEPRESCALER_DIV64   (SPI_CR1_BR_2 | SPI_CR1_BR_0)
#define LL_SPI_BAUDRATEPRESCALER_DIV128   (SPI_CR1_BR_2 | SPI_CR1_BR_1)
#define LL_SPI_BAUDRATEPRESCALER_DIV256   (SPI_CR1_BR_2 | SPI_CR1_BR_1 | SPI_CR1_BR_0)

Define Documentation

#define LL_SPI_BAUDRATEPRESCALER_DIV128   (SPI_CR1_BR_2 | SPI_CR1_BR_1)

BaudRate control equal to fPCLK/128

Definition at line 206 of file stm32f4xx_ll_spi.h.

#define LL_SPI_BAUDRATEPRESCALER_DIV16   (SPI_CR1_BR_1 | SPI_CR1_BR_0)

BaudRate control equal to fPCLK/16

Definition at line 203 of file stm32f4xx_ll_spi.h.

#define LL_SPI_BAUDRATEPRESCALER_DIV2   0x00000000U

BaudRate control equal to fPCLK/2

Definition at line 200 of file stm32f4xx_ll_spi.h.

Referenced by LL_SPI_StructInit().

#define LL_SPI_BAUDRATEPRESCALER_DIV256   (SPI_CR1_BR_2 | SPI_CR1_BR_1 | SPI_CR1_BR_0)

BaudRate control equal to fPCLK/256

Definition at line 207 of file stm32f4xx_ll_spi.h.

#define LL_SPI_BAUDRATEPRESCALER_DIV32   (SPI_CR1_BR_2)

BaudRate control equal to fPCLK/32

Definition at line 204 of file stm32f4xx_ll_spi.h.

#define LL_SPI_BAUDRATEPRESCALER_DIV4   (SPI_CR1_BR_0)

BaudRate control equal to fPCLK/4

Definition at line 201 of file stm32f4xx_ll_spi.h.

#define LL_SPI_BAUDRATEPRESCALER_DIV64   (SPI_CR1_BR_2 | SPI_CR1_BR_0)

BaudRate control equal to fPCLK/64

Definition at line 205 of file stm32f4xx_ll_spi.h.

#define LL_SPI_BAUDRATEPRESCALER_DIV8   (SPI_CR1_BR_1)

BaudRate control equal to fPCLK/8

Definition at line 202 of file stm32f4xx_ll_spi.h.