-
CONFIG_ADC_NPCX¶
Nuvoton NPCX embedded controller (EC) ADC driver
Type: bool
Help¶
Enable support for NPCX ADC driver. In NPCX7 series, it includes a 10-bit resolution Analog-to-Digital Converter (ADC). Up to 10 voltage inputs can be measured and a internal voltage reference (VREF), 2.816V (typical) is used for measurement.
Help¶
This option enables the ADC driver for NPCX family of processors. Say y if you wish to use ADC channels on NPCX MCU.
Direct dependencies¶
(ADC && SOC_SERIES_NPCX7) || (SOC_FAMILY_NPCX && ADC)
(Includes any dependencies from ifs and menus.)
Default¶
y
Kconfig definitions¶
At soc/arm/nuvoton_npcx/npcx7/Kconfig.defconfig.series:44
Included via Kconfig:8 → Kconfig.zephyr:19 → /home/runner/work/bridle/bridle/workspace/build/Kconfig/Kconfig.soc.defconfig:1 → soc/arm/nuvoton_npcx/Kconfig.defconfig:6
Menu path: (Top)
config ADC_NPCX
bool
default y
depends on ADC && SOC_SERIES_NPCX7
help
Enable support for NPCX ADC driver. In NPCX7 series, it includes a
10-bit resolution Analog-to-Digital Converter (ADC). Up to 10 voltage
inputs can be measured and a internal voltage reference (VREF), 2.816V
(typical) is used for measurement.
At drivers/adc/Kconfig.npcx:6
Included via Kconfig:8 → Kconfig.zephyr:32 → drivers/Kconfig:48 → drivers/adc/Kconfig:57
Menu path: (Top) → Device Drivers → ADC drivers
config ADC_NPCX
bool "Nuvoton NPCX embedded controller (EC) ADC driver"
depends on SOC_FAMILY_NPCX && ADC
help
This option enables the ADC driver for NPCX family of
processors.
Say y if you wish to use ADC channels on NPCX MCU.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)