STM32G474xx HAL用户手册
宏定义
SPI时钟极性
SPI导出常量

宏定义

#define SPI_ POLARITY_LOW   (0x00U)
#define SPI_ POLARITY_HIGH   SPI_ CR1_CPOL

宏定义文档

#define SPI_ POLARITY_HIGH   SPI_ CR1_CPOL

Definition at line 259 of file stm32g4xx_ hal_ spi. h.

#define SPI_ POLARITY_LOW   (0x0000000U)

Definition at line 258 of file stm32g4xx_ hal_ spi. h.

Referenced by HAL_ SPI_ Init().