CONFIG_I2C_STM32_V2

(No prompt – not directly user assignable.)

Type: bool

Help

Enable I2C support on the STM32 F0, F3, F7, L4, WBX, MP1, G0, G4, WL and
H7 family of processors.
This driver also supports the L0 series.
If I2C_SLAVE is enabled it selects I2C_STM32_INTERRUPT, since slave mode
is only supported by this driver with interrupts enabled.

Direct dependencies

I2C_STM32 && I2C

(Includes any dependencies from ifs and menus.)

Default

  • n

Kconfig definition

At <Zephyr>/drivers/i2c/Kconfig.stm32:25

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:42<Zephyr>/drivers/Kconfig:42<Zephyr>/drivers/i2c/Kconfig:45

Menu path: (Top) → Device Drivers → I2C Drivers → STM32 I2C driver

config I2C_STM32_V2
    bool
    default n
    select USE_STM32_LL_I2C
    select USE_STM32_LL_RCC if SOC_SERIES_STM32F0X || SOC_SERIES_STM32F3X
    select I2C_STM32_INTERRUPT if I2C_SLAVE
    depends on I2C_STM32 && I2C
    help
      Enable I2C support on the STM32 F0, F3, F7, L4, WBX, MP1, G0, G4, WL and
      H7 family of processors.
      This driver also supports the L0 series.
      If I2C_SLAVE is enabled it selects I2C_STM32_INTERRUPT, since slave mode
      is only supported by this driver with interrupts enabled.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)