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_SAM0

Atmel SAM0 GPIO (PORT) driver

Type: bool

Help

Enable support for the Atmel SAM0 'PORT' GPIO controllers.

Direct dependencies

SOC_FAMILY_SAM0 || (SOC_FAMILY_SAM0 && GPIO)

(Includes any dependencies from ifs and menus.)

Defaults

Kconfig definitions

At soc/arm/atmel_sam0/common/Kconfig.defconfig.series:20

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

Menu path: (Top)

config GPIO_SAM0
    bool
    default GPIO
    depends on SOC_FAMILY_SAM0

At drivers/gpio/Kconfig.sam0:6

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

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

config GPIO_SAM0
    bool "Atmel SAM0 GPIO (PORT) driver"
    default y
    depends on SOC_FAMILY_SAM0 && GPIO
    help
      Enable support for the Atmel SAM0 'PORT' GPIO controllers.

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