2019-11-01 20:45:29 +08:00
|
|
|
# ADC configuration options
|
2015-10-05 19:56:33 +08:00
|
|
|
|
|
|
|
# Copyright (c) 2015 Intel Corporation
|
2017-01-19 09:01:01 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2015-10-05 19:56:33 +08:00
|
|
|
|
|
|
|
#
|
|
|
|
# ADC options
|
|
|
|
#
|
|
|
|
menuconfig ADC
|
2018-08-14 22:19:20 +08:00
|
|
|
bool "ADC drivers"
|
2018-07-11 15:10:30 +08:00
|
|
|
# All platforms that implement the ADC driver are now required to
|
|
|
|
# provide relevant DTS entries.
|
2015-10-05 19:56:33 +08:00
|
|
|
help
|
2018-05-21 21:00:28 +08:00
|
|
|
Enable ADC (Analog to Digital Converter) driver configuration.
|
2015-10-05 19:56:33 +08:00
|
|
|
|
2017-06-08 01:54:25 +08:00
|
|
|
if ADC
|
|
|
|
|
2018-12-13 22:04:54 +08:00
|
|
|
config ADC_SHELL
|
|
|
|
bool "Enable ADC Shell"
|
2020-05-28 22:34:29 +08:00
|
|
|
default y
|
2020-04-12 00:18:21 +08:00
|
|
|
depends on SHELL
|
2018-12-13 22:04:54 +08:00
|
|
|
help
|
|
|
|
Enable ADC Shell for testing.
|
|
|
|
|
2018-05-21 21:00:28 +08: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-18 01:00:47 +08:00
|
|
|
module = ADC
|
|
|
|
module-str = ADC
|
|
|
|
source "subsys/logging/Kconfig.template.log_config"
|
2015-10-05 23:41:18 +08:00
|
|
|
|
2017-08-30 18:25:49 +08:00
|
|
|
source "drivers/adc/Kconfig.mcux"
|
2016-06-29 05:43:47 +08:00
|
|
|
|
2018-05-21 21:01:08 +08:00
|
|
|
source "drivers/adc/Kconfig.nrfx"
|
|
|
|
|
2017-08-04 19:38:18 +08:00
|
|
|
source "drivers/adc/Kconfig.sam_afec"
|
|
|
|
|
2019-02-24 22:47:57 +08:00
|
|
|
source "drivers/adc/Kconfig.sam0"
|
|
|
|
|
2019-05-07 16:37:35 +08:00
|
|
|
source "drivers/adc/Kconfig.stm32"
|
|
|
|
|
2019-09-14 01:16:04 +08:00
|
|
|
source "drivers/adc/Kconfig.xec"
|
|
|
|
|
2019-10-07 19:08:44 +08:00
|
|
|
source "drivers/adc/Kconfig.lmp90xxx"
|
|
|
|
|
2020-03-25 17:33:59 +08:00
|
|
|
source "drivers/adc/Kconfig.mcp320x"
|
|
|
|
|
2017-06-08 01:54:25 +08:00
|
|
|
endif # ADC
|