2019-11-01 20:45:29 +08:00
|
|
|
# ADC configuration options
|
2019-05-07 16:37:35 +08:00
|
|
|
|
|
|
|
# Copyright (c) 2019 Intel Corporation
|
|
|
|
# Copyright (c) 2019 Endre Karlson
|
|
|
|
# Copyright (c) 2019 Song Qiang <songqiang1304521@gmail.com>
|
2021-09-02 00:24:24 +08:00
|
|
|
# Copyright (c) 2021 Marius Scholtz, RIC Electronics
|
2023-01-27 16:51:23 +08:00
|
|
|
# Copyright (c) 2022 Hein Wessels, Nobleo Technology
|
2019-05-07 16:37:35 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2020-01-31 22:04:02 +08:00
|
|
|
config ADC_STM32
|
2019-05-07 16:37:35 +08:00
|
|
|
bool "STM32 ADC driver"
|
2022-07-21 19:43:43 +08:00
|
|
|
default y
|
|
|
|
depends on DT_HAS_ST_STM32_ADC_ENABLED
|
2024-08-29 22:04:49 +08:00
|
|
|
select PINCTRL
|
2019-05-07 16:37:35 +08:00
|
|
|
help
|
|
|
|
Enable the driver implementation for the stm32xx ADC
|
2021-09-02 00:24:24 +08:00
|
|
|
|
2023-01-27 16:51:23 +08:00
|
|
|
if ADC_STM32
|
|
|
|
|
|
|
|
config ADC_STM32_DMA
|
|
|
|
bool "STM32 MCU ADC DMA Support"
|
|
|
|
select DMA
|
|
|
|
help
|
|
|
|
Enable the ADC DMA mode for ADC instances
|
|
|
|
that enable dma channels in their device tree node.
|
|
|
|
|
2021-09-02 00:24:24 +08:00
|
|
|
endif
|