STM32L486xx HAL User Manual
Defines
Transfer End Mode
I2C Exported Constants

Defines

#define LL_I2C_MODE_RELOAD   I2C_CR2_RELOAD
#define LL_I2C_MODE_AUTOEND   I2C_CR2_AUTOEND
#define LL_I2C_MODE_SOFTEND   0x00000000U
#define LL_I2C_MODE_SMBUS_RELOAD   LL_I2C_MODE_RELOAD
#define LL_I2C_MODE_SMBUS_AUTOEND_NO_PEC   LL_I2C_MODE_AUTOEND
#define LL_I2C_MODE_SMBUS_SOFTEND_NO_PEC   LL_I2C_MODE_SOFTEND
#define LL_I2C_MODE_SMBUS_AUTOEND_WITH_PEC   (uint32_t)(LL_I2C_MODE_AUTOEND | I2C_CR2_PECBYTE)
#define LL_I2C_MODE_SMBUS_SOFTEND_WITH_PEC   (uint32_t)(LL_I2C_MODE_SOFTEND | I2C_CR2_PECBYTE)

Define Documentation

#define LL_I2C_MODE_AUTOEND   I2C_CR2_AUTOEND

Enable I2C Automatic end mode with no HW PEC comparison.

Definition at line 270 of file stm32l4xx_ll_i2c.h.

#define LL_I2C_MODE_RELOAD   I2C_CR2_RELOAD

Enable I2C Reload mode.

Definition at line 269 of file stm32l4xx_ll_i2c.h.

Enable SMBUS Automatic end mode with HW PEC comparison.

Definition at line 273 of file stm32l4xx_ll_i2c.h.

#define LL_I2C_MODE_SMBUS_AUTOEND_WITH_PEC   (uint32_t)(LL_I2C_MODE_AUTOEND | I2C_CR2_PECBYTE)

Enable SMBUS Automatic end mode with HW PEC comparison.

Definition at line 275 of file stm32l4xx_ll_i2c.h.

Enable SMBUS Automatic end mode with HW PEC comparison.

Definition at line 272 of file stm32l4xx_ll_i2c.h.

Enable SMBUS Software end mode with HW PEC comparison.

Definition at line 274 of file stm32l4xx_ll_i2c.h.

#define LL_I2C_MODE_SMBUS_SOFTEND_WITH_PEC   (uint32_t)(LL_I2C_MODE_SOFTEND | I2C_CR2_PECBYTE)

Enable SMBUS Software end mode with HW PEC comparison.

Definition at line 276 of file stm32l4xx_ll_i2c.h.

#define LL_I2C_MODE_SOFTEND   0x00000000U

Enable I2C Software end mode with no HW PEC comparison.

Definition at line 271 of file stm32l4xx_ll_i2c.h.