GPIO Constants

This page aggregates all GPIO-related constants used by functions and methods from the C and C++ APIs.

group GPIO-related constants

Enums

enum GpioPinNumber

GPIO pin identifiers available on the host adapter.

Values:

enumerator GPIO_1

GPIO pin 1

enumerator GPIO_2

GPIO pin 2

enumerator GPIO_3

GPIO pin 3

enumerator GPIO_4

GPIO pin 4

enumerator GPIO_5

GPIO pin 5

enumerator GPIO_6

GPIO pin 6

enum GpioLogicLevel

Digital logic levels used for GPIO input/output operations.

Values:

enumerator GPIO_LOW

Logic low level (0)

enumerator GPIO_HIGH

Logic high level (1)

enum GpioFunctionality

GPIO operating modes supported by the host adapter.

Values:

enumerator GPIO_DIGITAL_INPUT

Configure pin as digital input

enumerator GPIO_DIGITAL_OUTPUT

Configure pin as digital output

enum GpioTriggerType

Trigger modes for GPIO interrupt generation.

Values:

enumerator GPIO_TRIGGER_RISING_EDGE

Interrupt on rising edge

enumerator GPIO_TRIGGER_FALLING_EDGE

Interrupt on falling edge

enumerator GPIO_TRIGGER_BOTH_EDGES

Interrupt on both edges