STM32G474xx HAL用户手册
Defines
SPI时钟相位
SPI导出常量

Defines(宏定义)

#define SPI_PHASE_1EDGE   (0x00000000U)
#define SPI_PHASE_2EDGE   SPI_CR1_CPHA

Define Documentation(宏定义文档)

#define SPI_PHASE_1EDGE   (0x00000000U)

定义于文件 stm32g4xx_hal_spi.h 的第 267 行。

HAL_SPI_Init() 引用。

#define SPI_PHASE_2EDGE   SPI_CR1_CPHA

定义于文件 stm32g4xx_hal_spi.h 的第 268 行。