This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_ADC_STM32

STM32 ADC driver

Type: bool

Help

Enable the driver implementation for the stm32xx ADC

Direct dependencies

(ADC && SOC_FAMILY_STM32) || (SOC_FAMILY_STM32 && ADC)

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definitions

At soc/arm/st_stm32/common/Kconfig.defconfig.series:63

Included via Kconfig:8Kconfig.zephyr:27soc/arm/st_stm32/Kconfig.defconfig:3

Menu path: (Top)

config ADC_STM32
    bool
    default y
    depends on ADC && SOC_FAMILY_STM32

At drivers/adc/Kconfig.stm32:8

Included via Kconfig:8Kconfig.zephyr:40drivers/Kconfig:48drivers/adc/Kconfig:51

Menu path: (Top) → Device Drivers → ADC drivers

config ADC_STM32
    bool "STM32 ADC driver"
    depends on SOC_FAMILY_STM32 && ADC
    help
      Enable the driver implementation for the stm32xx ADC

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