Bewerken

Delen via


PEP_ACPI_GPIO_RESOURCE structure (pepfx.h)

The PEP_ACPI_GPIO_RESOURCE structure describes the ACPI configuration for a general purpose input/output (GPIO) resource.

Syntax

typedef struct _PEP_ACPI_GPIO_RESOURCE {
  PEP_ACPI_RESOURCE_TYPE      Type;
  PEP_ACPI_RESOURCE_FLAGS     Flags;
  KINTERRUPT_MODE             InterruptType;
  KINTERRUPT_POLARITY         InterruptPolarity;
  GPIO_PIN_CONFIG_TYPE        PinConfig;
  GPIO_PIN_IORESTRICTION_TYPE IoRestrictionType;
  USHORT                      DriveStrength;
  USHORT                      DebounceTimeout;
  PUSHORT                     PinTable;
  USHORT                      PinCount;
  UCHAR                       ResourceSourceIndex;
  PUNICODE_STRING             ResourceSourceName;
  PUCHAR                      VendorData;
  USHORT                      VendorDataLength;
} PEP_ACPI_GPIO_RESOURCE, *PPEP_ACPI_GPIO_RESOURCE;

Members

Type

A PEP_ACPI_RESOURCE_TYPE enumeration value that identifies the resource type for this ACPI resource.

Flags

A PEP_ACPI_RESOURCE_FLAGS structure that describes the capabilities of this ACPI resource.

InterruptType

A KINTERRUPT_MODE enumeration value that identifies the interrupt type.

InterruptPolarity

A KINTERRUPT_POLARITY enumeration value that identifies how a device signals an interrupt request on an interrupt line.

PinConfig

A GPIO_PIN_CONFIG_TYPE enumeration value that identifies the GPIO pin configuration type.

IoRestrictionType

A GPIO_PIN_IORESTRICTION_TYPE enumeration value that identifies the type of IO that the pin supports.

DriveStrength

Specifies the output drive capability of the pin, in hundredths of milliamperes.

DebounceTimeout

Specifies the hardware debounce wait time, in hundredths of milliseconds.

PinTable

A list of pin numbers on the resource that are described by this descriptor.

PinCount

The number of pins in PinTable.

ResourceSourceIndex

This member is always zero.

ResourceSourceName

This member is always set to "ResourceConsumer."

VendorData

A pointer to a raw data buffer containing vendor-defined byte data to be decoded by the OS driver.

VendorDataLength

The size of the VendorData buffer.

Requirements

Requirement Value
Minimum supported client Supported starting with Windows 10.
Header pepfx.h (include Pep_x.h)

See also

GPIO_PIN_CONFIG_TYPE

GPIO_PIN_IORESTRICTION_TYPE

KINTERRUPT_MODE

KINTERRUPT_POLARITY

PEP_ACPI_RESOURCE_FLAGS

PEP_ACPI_RESOURCE_TYPE