-
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 <Zephyr>/soc/arm/nuvoton_npcx/npcx7/Kconfig.defconfig.series:44
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:19
→ <BuildDir>/Kconfig/Kconfig.soc.defconfig:1
→ <Zephyr>/soc/arm/nuvoton_npcx/Kconfig.defconfig:6
Menu path: (Top)
config ADC_NPCX bool default y depends onADC
&&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 <Zephyr>/drivers/adc/Kconfig.npcx:6
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:32
→ <Zephyr>/drivers/Kconfig:48
→ <Zephyr>/drivers/adc/Kconfig:57
Menu path: (Top) → Device Drivers → ADC drivers
config ADC_NPCX bool "Nuvoton NPCX embedded controller (EC) ADC driver" depends onSOC_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.)