CONFIG_I2C_STM32_V2

STM32 V2 Driver (F0/F3/F7/L0/L4X)

Type: bool

Help

Enable I2C support on the STM32 F0, F3, F7 and L4X 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.

Kconfig definitions

At soc/arm/st_stm32/stm32f0/Kconfig.defconfig.series:31

Included via Kconfig:10Kconfig.zephyr:23soc/arm/st_stm32/Kconfig.defconfig:3

Menu path: (top menu)

config I2C_STM32_V2
    bool
    default "y" if I2C_STM32 && SOC_SERIES_STM32F0X
    depends on I2C_STM32 && SOC_SERIES_STM32F0X

At soc/arm/st_stm32/stm32f3/Kconfig.defconfig.series:28

Included via Kconfig:10Kconfig.zephyr:23soc/arm/st_stm32/Kconfig.defconfig:3

Menu path: (top menu)

config I2C_STM32_V2
    bool
    default "y" if I2C_STM32 && SOC_SERIES_STM32F3X
    depends on I2C_STM32 && SOC_SERIES_STM32F3X

At soc/arm/st_stm32/stm32f7/Kconfig.defconfig.series:37

Included via Kconfig:10Kconfig.zephyr:23soc/arm/st_stm32/Kconfig.defconfig:3

Menu path: (top menu)

config I2C_STM32_V2
    bool
    default "y" if I2C_STM32 && SOC_SERIES_STM32F7X
    depends on I2C_STM32 && SOC_SERIES_STM32F7X

At soc/arm/st_stm32/stm32l0/Kconfig.defconfig.series:25

Included via Kconfig:10Kconfig.zephyr:23soc/arm/st_stm32/Kconfig.defconfig:3

Menu path: (top menu)

config I2C_STM32_V2
    bool
    default "y" if I2C_STM32 && SOC_SERIES_STM32L0X
    depends on I2C_STM32 && SOC_SERIES_STM32L0X

At soc/arm/st_stm32/stm32l4/Kconfig.defconfig.series:30

Included via Kconfig:10Kconfig.zephyr:23soc/arm/st_stm32/Kconfig.defconfig:3

Menu path: (top menu)

config I2C_STM32_V2
    bool
    default "y" if I2C_STM32 && SOC_SERIES_STM32L4X
    depends on I2C_STM32 && SOC_SERIES_STM32L4X

At drivers/i2c/Kconfig.stm32:24

Included via Kconfig:10Kconfig.zephyr:35drivers/Kconfig:40drivers/i2c/Kconfig:29

Menu path: (top menu) → Device Drivers → I2C Drivers → STM32 I2C driver

config I2C_STM32_V2
    bool
    prompt "STM32 V2 Driver (F0/F3/F7/L0/L4X)" if (SOC_SERIES_STM32F0X || SOC_SERIES_STM32F3X || SOC_SERIES_STM32F7X || SOC_SERIES_STM32L0X || SOC_SERIES_STM32L4X) && I2C_STM32 && I2C
    select HAS_DTS_I2C if (SOC_SERIES_STM32F0X || SOC_SERIES_STM32F3X || SOC_SERIES_STM32F7X || SOC_SERIES_STM32L0X || SOC_SERIES_STM32L4X) && I2C_STM32 && I2C
    select USE_STM32_LL_I2C if (SOC_SERIES_STM32F0X || SOC_SERIES_STM32F3X || SOC_SERIES_STM32F7X || SOC_SERIES_STM32L0X || SOC_SERIES_STM32L4X) && I2C_STM32 && I2C
    select USE_STM32_LL_RCC if (SOC_SERIES_STM32F0X || SOC_SERIES_STM32F3X) && (SOC_SERIES_STM32F0X || SOC_SERIES_STM32F3X || SOC_SERIES_STM32F7X || SOC_SERIES_STM32L0X || SOC_SERIES_STM32L4X) && I2C_STM32 && I2C
    select I2C_STM32_INTERRUPT if I2C_SLAVE && (SOC_SERIES_STM32F0X || SOC_SERIES_STM32F3X || SOC_SERIES_STM32F7X || SOC_SERIES_STM32L0X || SOC_SERIES_STM32L4X) && I2C_STM32 && I2C
    depends on (SOC_SERIES_STM32F0X || SOC_SERIES_STM32F3X || SOC_SERIES_STM32F7X || SOC_SERIES_STM32L0X || SOC_SERIES_STM32L4X) && I2C_STM32 && I2C
    help
      Enable I2C support on the STM32 F0, F3, F7 and L4X 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.

(Definitions include propagated dependencies, including from if’s and menus.)