2019-11-01 13:45:29 +01: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-01 09:24:24 -07:00
|
|
|
# Copyright (c) 2021 Marius Scholtz, RIC Electronics
|
2019-05-07 16:37:35 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2020-01-31 15:04:02 +01:00
|
|
|
config ADC_STM32
|
2019-05-07 16:37:35 +08:00
|
|
|
bool "STM32 ADC driver"
|
2022-07-21 06:43:43 -05:00
|
|
|
default y
|
|
|
|
depends on DT_HAS_ST_STM32_ADC_ENABLED
|
2019-05-07 16:37:35 +08:00
|
|
|
help
|
|
|
|
Enable the driver implementation for the stm32xx ADC
|
2021-09-01 09:24:24 -07:00
|
|
|
|
2022-11-03 13:08:01 +01:00
|
|
|
if SOC_SERIES_STM32F2X || SOC_SERIES_STM32F4X || SOC_SERIES_STM32F7X || SOC_SERIES_STM32G4X
|
2021-09-01 09:24:24 -07:00
|
|
|
|
|
|
|
config ADC_STM32_SHARED_IRQS
|
|
|
|
bool "STM32 ADC shared interrupts"
|
|
|
|
default y
|
|
|
|
depends on ADC_STM32
|
|
|
|
help
|
|
|
|
Enable the use of shared interrupts for families that only have a single interrupt for all ADC's
|
|
|
|
endif
|