2019-11-01 13:45:29 +01:00
|
|
|
# ADC configuration options
|
2015-10-05 13:56:33 +02:00
|
|
|
|
|
|
|
# Copyright (c) 2015 Intel Corporation
|
2017-01-19 02:01:01 +01:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2015-10-05 13:56:33 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# ADC options
|
|
|
|
#
|
|
|
|
menuconfig ADC
|
2018-08-14 16:19:20 +02:00
|
|
|
bool "ADC drivers"
|
2018-07-11 09:10:30 +02:00
|
|
|
# All platforms that implement the ADC driver are now required to
|
|
|
|
# provide relevant DTS entries.
|
2015-10-05 13:56:33 +02:00
|
|
|
help
|
2018-05-21 15:00:28 +02:00
|
|
|
Enable ADC (Analog to Digital Converter) driver configuration.
|
2015-10-05 13:56:33 +02:00
|
|
|
|
2017-06-07 19:54:25 +02:00
|
|
|
if ADC
|
|
|
|
|
2018-12-13 15:04:54 +01:00
|
|
|
config ADC_SHELL
|
|
|
|
bool "Enable ADC Shell"
|
2020-05-28 16:34:29 +02:00
|
|
|
default y
|
2020-04-11 18:18:21 +02:00
|
|
|
depends on SHELL
|
2018-12-13 15:04:54 +01:00
|
|
|
help
|
|
|
|
Enable ADC Shell for testing.
|
|
|
|
|
2018-05-21 15:00:28 +02:00
|
|
|
# By selecting or not this option particular ADC drivers indicate if it is
|
|
|
|
# required to explicitly specify analog inputs when configuring channels or
|
|
|
|
# just the channel identifier is sufficient.
|
|
|
|
config ADC_CONFIGURABLE_INPUTS
|
|
|
|
bool
|
|
|
|
|
|
|
|
config ADC_ASYNC
|
|
|
|
bool "Enable asynchronous call support"
|
|
|
|
select POLL
|
|
|
|
help
|
|
|
|
This option enables the asynchronous API calls.
|
|
|
|
|
2018-09-17 19:00:47 +02:00
|
|
|
module = ADC
|
|
|
|
module-str = ADC
|
|
|
|
source "subsys/logging/Kconfig.template.log_config"
|
2015-10-05 17:41:18 +02:00
|
|
|
|
2017-08-30 12:25:49 +02:00
|
|
|
source "drivers/adc/Kconfig.mcux"
|
2016-06-28 23:43:47 +02:00
|
|
|
|
2018-05-21 15:01:08 +02:00
|
|
|
source "drivers/adc/Kconfig.nrfx"
|
|
|
|
|
2017-08-04 13:38:18 +02:00
|
|
|
source "drivers/adc/Kconfig.sam_afec"
|
|
|
|
|
2019-02-24 15:47:57 +01:00
|
|
|
source "drivers/adc/Kconfig.sam0"
|
|
|
|
|
2019-05-07 10:37:35 +02:00
|
|
|
source "drivers/adc/Kconfig.stm32"
|
|
|
|
|
2019-09-13 19:16:04 +02:00
|
|
|
source "drivers/adc/Kconfig.xec"
|
|
|
|
|
2019-10-07 13:08:44 +02:00
|
|
|
source "drivers/adc/Kconfig.lmp90xxx"
|
|
|
|
|
2020-03-25 10:33:59 +01:00
|
|
|
source "drivers/adc/Kconfig.mcp320x"
|
|
|
|
|
2017-06-07 19:54:25 +02:00
|
|
|
endif # ADC
|