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# SPDX-License-Identifier: Apache-2.0 9 10config ADC_STM32 11 bool "STM32 ADC driver" 12 default y 13 depends on DT_HAS_ST_STM32_ADC_ENABLED 14 help 15 Enable the driver implementation for the stm32xx ADC 16 17if ADC_STM32 18 19config ADC_STM32_DMA 20 bool "STM32 MCU ADC DMA Support" 21 select DMA 22 help 23 Enable the ADC DMA mode for ADC instances 24 that enable dma channels in their device tree node. 25 26endif 27