STM32F103xB HAL User Manual
Defines
Read Write Direction
I2C Exported Constants

Defines

#define LL_I2C_DIRECTION_WRITE   I2C_SR2_TRA
#define LL_I2C_DIRECTION_READ   0x00000000U

Define Documentation

#define LL_I2C_DIRECTION_READ   0x00000000U

Bus is in read transfer

Definition at line 206 of file stm32f1xx_ll_i2c.h.

#define LL_I2C_DIRECTION_WRITE   I2C_SR2_TRA

Bus is in write transfer

Definition at line 205 of file stm32f1xx_ll_i2c.h.