GPIO_CONNECT_IO_PINS_MODE enumeration (gpioclx.h)

The GPIO_CONNECT_IO_PINS_MODE enumeration indicates whether a set of general-purpose I/O (GPIO) pins is configured as inputs or outputs.

Syntax

typedef enum _GPIO_CONNECT_IO_PINS_MODE {
  ConnectModeInvalid,
  ConnectModeInput,
  ConnectModeOutput,
  ConnectModeMaximum
} GPIO_CONNECT_IO_PINS_MODE, *PGPIO_CONNECT_IO_PINS_MODE;

Constants

 
ConnectModeInvalid
The connection mode (input or output) for this set of GPIO pins is uninitialized.
ConnectModeInput
This set of GPIO pins is configured as data inputs.
ConnectModeOutput
This set of GPIO pins is configured as data outputs.
ConnectModeMaximum
The maximum value in the enumeration.

Remarks

The ConnectMode member of the GPIO_CONNECT_IO_PINS_PARAMETERS structure contains a GPIO_CONNECT_IO_PINS_MODE enumeration constant.

The ConnectModeInput enumeration constant labels a set of GPIO pins that can be read by an IOCTL_GPIO_READ_PINS request. ConnectModeOutput labels a set of GPIO pins that can be written to by an IOCTL_GPIO_WRITE_PINS request.

Requirements

Requirement Value
Minimum supported client Supported starting with Windows 8.
Header gpioclx.h

See also

GPIO_CONNECT_IO_PINS_PARAMETERS

IOCTL_GPIO_READ_PINS

IOCTL_GPIO_WRITE_PINS