This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_GPIO_NPCX

Nuvoton NPCX embedded controller (EC) gpio driver

Type: bool

Help

Enable support for NPCX GPIO driver.

Help

Enable support for NPCX GPIO driver. In NPCX9 series, it includes 16
ports that support input/output, input-only and output-only
configurations.

Help

This option enables the GPIO driver for NPCX family of
processors.
Say y if you wish to use serial port on NPCX MCU.

Direct dependencies

(GPIO && SOC_SERIES_NPCX7) || (GPIO && SOC_SERIES_NPCX9) || (SOC_FAMILY_NPCX && GPIO)

(Includes any dependencies from ifs and menus.)

Defaults

  • y

  • y

Kconfig definitions

At soc/arm/nuvoton_npcx/npcx7/Kconfig.defconfig.series:31

Included via Kconfig:8Kconfig.zephyr:27soc/arm/nuvoton_npcx/Kconfig.defconfig:6

Menu path: (Top)

config GPIO_NPCX
    bool
    default y
    depends on GPIO && SOC_SERIES_NPCX7
    help
      Enable support for NPCX GPIO driver.

At soc/arm/nuvoton_npcx/npcx9/Kconfig.defconfig.series:36

Included via Kconfig:8Kconfig.zephyr:27soc/arm/nuvoton_npcx/Kconfig.defconfig:6

Menu path: (Top)

config GPIO_NPCX
    bool
    default y
    depends on GPIO && SOC_SERIES_NPCX9
    help
      Enable support for NPCX GPIO driver. In NPCX9 series, it includes 16
      ports that support input/output, input-only and output-only
      configurations.

At drivers/gpio/Kconfig.npcx:6

Included via Kconfig:8Kconfig.zephyr:40drivers/Kconfig:34drivers/gpio/Kconfig:82

Menu path: (Top) → Device Drivers → GPIO Drivers

config GPIO_NPCX
    bool "Nuvoton NPCX embedded controller (EC) gpio driver"
    depends on SOC_FAMILY_NPCX && GPIO
    help
      This option enables the GPIO driver for NPCX family of
      processors.
      Say y if you wish to use serial port on NPCX MCU.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)