GPIO_CONNECT_IO_PINS_MODE - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// gpioclx.h

typedef enum _GPIO_CONNECT_IO_PINS_MODE {
  ConnectModeInvalid,
  ConnectModeInput,
  ConnectModeOutput,
  ConnectModeMaximum
} GPIO_CONNECT_IO_PINS_MODE, *PGPIO_CONNECT_IO_PINS_MODE;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ne-gpioclx-_gpio_connect_io_pins_mode)

_GPIO_CONNECT_IO_PINS_MODE enumeration

Description

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

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.

See also

GPIO_CONNECT_IO_PINS_PARAMETERS

IOCTL_GPIO_READ_PINS

IOCTL_GPIO_WRITE_PINS