Skip to content

General Purpose I/O (GPIO)

lbuild module: modm:platform:gpio

This module is only available for sam.

Options

enable_ports

Enable clock for these GPIO ports during startup

Default: {A, B, C, D, E} same7x/s7x/v7x
Default: {A, B, C, D} samd5x/e5x
Default: {A, B, C} samd5x/e5x
Default: {A, B, D} same7x/s7x/v7x
Default: {A, B} sam{d1x/d2x/dax,d5x/e5x,g5x}
Default: {A} samd1x/d2x/dax
Inputs: [A] samd1x/d2x/dax
Inputs: [A, B] sam{d1x/d2x/dax,d5x/e5x,g5x}
Inputs: [A, B, C] samd5x/e5x
Inputs: [A, B, C, D] samd5x/e5x
Inputs: [A, B, C, D, E] same7x/s7x/v7x
Inputs: [A, B, D] same7x/s7x/v7x

Dependencies

modm:platform:gpio modm_platform_gpio modm: platform: gpio modm_architecture_gpio modm: architecture: gpio modm_platform_gpio->modm_architecture_gpio modm_cmsis_device modm: cmsis: device modm_platform_gpio->modm_cmsis_device modm_math_utils modm: math: utils modm_platform_gpio->modm_math_utils

Limited availability: Check with 'lbuild discover' if this module is available for your target!