:orphan: .. title:: CONFIG_ADC_NPCX .. kconfig:: CONFIG_ADC_NPCX CONFIG_ADC_NPCX ############### *Nuvoton NPCX embedded controller (EC) ADC driver* Type: ``bool`` Help ==== .. code-block:: none 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 ==== .. code-block:: none 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 ==== .. code-block:: none 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 ==== .. code-block:: none 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 ==== .. code-block:: none 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 =================== (\ :kconfig:`ADC ` && \ :kconfig:`SOC_SERIES_NPCX7 `) || (\ :kconfig:`ADC ` && \ :kconfig:`SOC_SERIES_NPCX9 `) || (\ :kconfig:`ADC ` && \ :kconfig:`SOC_SERIES_NPCX7 `) || (\ :kconfig:`ADC ` && \ :kconfig:`SOC_SERIES_NPCX9 `) || (\ :kconfig:`SOC_FAMILY_NPCX ` && \ :kconfig:`ADC `) *(Includes any dependencies from ifs and menus.)* Defaults ======== - y - y - y - y Kconfig definitions =================== At ``/arm/nuvoton_npcx/npcx7/Kconfig.defconfig.series:43`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:25`` → ``/kconfig/Kconfig.soc.defconfig:1`` → ``/arm/nuvoton_npcx/Kconfig.defconfig:6`` Menu path: (Top) .. code-block:: kconfig 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 ``/arm/nuvoton_npcx/npcx9/Kconfig.defconfig.series:53`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:25`` → ``/kconfig/Kconfig.soc.defconfig:1`` → ``/arm/nuvoton_npcx/Kconfig.defconfig:6`` Menu path: (Top) .. code-block:: kconfig 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 ``/arm/nuvoton_npcx/npcx7/Kconfig.defconfig.series:43`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:27`` → ``/arm/nuvoton_npcx/Kconfig.defconfig:6`` Menu path: (Top) .. code-block:: kconfig 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 ``/arm/nuvoton_npcx/npcx9/Kconfig.defconfig.series:53`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:27`` → ``/arm/nuvoton_npcx/Kconfig.defconfig:6`` Menu path: (Top) .. code-block:: kconfig 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 ``/adc/Kconfig.npcx:6`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:42`` → ``/Kconfig:50`` → ``/adc/Kconfig:59`` Menu path: (Top) → Device Drivers → ADC drivers .. code-block:: kconfig 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.)*