STM32G474xx HAL User Manual
宏定义
传输位序
SPI导出常量

宏定义

#define LL_SPI_LSB_FIRST   (SPI_CR1_LSBFIRST)
#define LL_SPI_MSB_FIRST   0x00000000U

宏定义说明

#define LL_SPI_LSB_FIRST   (SPI_CR1_LSBFIRST)

数据以LSB优先的方式进行发送/接收

定义于第211行,文件为stm32g4xx_ll_spi.h

#define LL_SPI_MSB_FIRST   0x00000000U

数据以MSB优先的方式进行发送/接收

定义于第212行,文件为stm32g4xx_ll_spi.h

参考自 LL_SPI_StructInit()