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¶
Enable support for NPCX ADC driver. In NPCX9 series, it includes a
10-bit resolution Analog-to-Digital Converter (ADC). Up to 12 voltage
inputs can be measured and a internal voltage reference (VREF), 2.816V
(typical) is used for measurement.
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¶
Enable support for NPCX ADC driver. In NPCX9 series, it includes a
10-bit resolution Analog-to-Digital Converter (ADC). Up to 12 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) || (ADC && SOC_SERIES_NPCX9) || (ADC && SOC_SERIES_NPCX7) || (ADC && SOC_SERIES_NPCX9) || (SOC_FAMILY_NPCX && ADC)
(Includes any dependencies from ifs and menus.)
Defaults¶
- y 
- y 
- y 
- y 
Kconfig definitions¶
At <Zephyr SoC>/arm/nuvoton_npcx/npcx7/Kconfig.defconfig.series:43
Included via Kconfig:8 → Kconfig.zephyr:25 → <BuildDir>/kconfig/Kconfig.soc.defconfig:1 → <Zephyr 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 <Zephyr SoC>/arm/nuvoton_npcx/npcx9/Kconfig.defconfig.series:53
Included via Kconfig:8 → Kconfig.zephyr:25 → <BuildDir>/kconfig/Kconfig.soc.defconfig:1 → <Zephyr SoC>/arm/nuvoton_npcx/Kconfig.defconfig:6
Menu path: (Top)
config ADC_NPCX
    bool
    default y
    depends on ADC && SOC_SERIES_NPCX9
    help
      Enable support for NPCX ADC driver. In NPCX9 series, it includes a
      10-bit resolution Analog-to-Digital Converter (ADC). Up to 12 voltage
      inputs can be measured and a internal voltage reference (VREF), 2.816V
      (typical) is used for measurement.
At <Zephyr SoC>/arm/nuvoton_npcx/npcx7/Kconfig.defconfig.series:43
Included via Kconfig:8 → Kconfig.zephyr:27 → <Zephyr 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 <Zephyr SoC>/arm/nuvoton_npcx/npcx9/Kconfig.defconfig.series:53
Included via Kconfig:8 → Kconfig.zephyr:27 → <Zephyr SoC>/arm/nuvoton_npcx/Kconfig.defconfig:6
Menu path: (Top)
config ADC_NPCX
    bool
    default y
    depends on ADC && SOC_SERIES_NPCX9
    help
      Enable support for NPCX ADC driver. In NPCX9 series, it includes a
      10-bit resolution Analog-to-Digital Converter (ADC). Up to 12 voltage
      inputs can be measured and a internal voltage reference (VREF), 2.816V
      (typical) is used for measurement.
At <Zephyr Driver>/adc/Kconfig.npcx:6
Included via Kconfig:8 → Kconfig.zephyr:42 → <Zephyr Driver>/Kconfig:50 → <Zephyr Driver>/adc/Kconfig:59
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.)