1# ADC configuration options
2
3# Copyright (c) 2019 Intel Corporation
4# Copyright (c) 2019 Endre Karlson
5# Copyright (c) 2019 Song Qiang <songqiang1304521@gmail.com>
6# Copyright (c) 2021 Marius Scholtz, RIC Electronics
7# Copyright (c) 2022 Hein Wessels, Nobleo Technology
8# Copyright (c) 2024 STMicroelectronics
9# SPDX-License-Identifier: Apache-2.0
10
11config ADC_STM32
12	bool "STM32 ADC driver"
13	default y
14	depends on DT_HAS_ST_STM32_ADC_ENABLED
15	select PINCTRL
16	help
17	  Enable the driver implementation for the stm32xx ADC
18
19config ADC_STM32WB0
20	bool "STM32WB0 ADC driver"
21	default y
22	depends on DT_HAS_ST_STM32WB0_ADC_ENABLED
23	select PINCTRL
24	help
25	  Enable the driver implementation for the STM32WB0 series ADC
26
27if ADC_STM32 || ADC_STM32WB0
28
29config ADC_STM32_DMA
30	bool "STM32 MCU ADC DMA Support"
31	select DMA
32	help
33	  Enable the ADC DMA mode for ADC instances
34	  that enable dma channels in their device tree node.
35
36endif
37