STM32G474xx HAL User Manual
定义
传输请求方向
I2C导出常量

定义

#define LL_I2C_REQUEST_WRITE   0x00000000U
#define LL_I2C_REQUEST_READ   I2C_CR2_RD_WRN

定义文档

#define LL_I2C_REQUEST_READ   I2C_CR2_RD_WRN

主机请求读取传输。

Definition at line 254 of file stm32g4xx_ll_i2c.h.

#define LL_I2C_REQUEST_WRITE   0x00000000U

主机请求写入传输。

Definition at line 253 of file stm32g4xx_ll_i2c.h.