// pep_x.h
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;
View the official Windows Driver Kit DDI reference// pepfx.h
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;
View the official Windows Driver Kit DDI referenceNo description available.
The PEP_ACPI_GPIO_RESOURCE structure describes the ACPI configuration for a general purpose input/output (GPIO) resource.
TypeA PEP_ACPI_RESOURCE_TYPE enumeration value that identifies the resource type for this ACPI resource.
FlagsA PEP_ACPI_RESOURCE_FLAGS structure that describes the capabilities of this ACPI resource.
InterruptTypeA KINTERRUPT_MODE enumeration value that identifies the interrupt type.
InterruptPolarityA KINTERRUPT_POLARITY enumeration value that identifies how a device signals an interrupt request on an interrupt line.
PinConfigA GPIO_PIN_CONFIG_TYPE enumeration value that identifies the GPIO pin configuration type.
IoRestrictionTypeA GPIO_PIN_IORESTRICTION_TYPE enumeration value that identifies the type of IO that the pin supports.
DriveStrengthSpecifies the output drive capability of the pin, in hundredths of milliamperes.
DebounceTimeoutSpecifies the hardware debounce wait time, in hundredths of milliseconds.
PinTableA list of pin numbers on the resource that are described by this descriptor.
PinCountThe number of pins in PinTable.
ResourceSourceIndexThis member is always zero.
ResourceSourceNameThis member is always set to "ResourceConsumer."
VendorDataA pointer to a raw data buffer containing vendor-defined byte data to be decoded by the OS driver.
VendorDataLengthThe size of the VendorData buffer.
The PEP_ACPI_GPIO_RESOURCE structure describes the ACPI configuration for a general purpose input/output (GPIO) resource.
TypeA PEP_ACPI_RESOURCE_TYPE enumeration value that identifies the resource type for this ACPI resource.
FlagsA PEP_ACPI_RESOURCE_FLAGS structure that describes the capabilities of this ACPI resource.
InterruptTypeA KINTERRUPT_MODE enumeration value that identifies the interrupt type.
InterruptPolarityA KINTERRUPT_POLARITY enumeration value that identifies how a device signals an interrupt request on an interrupt line.
PinConfigA GPIO_PIN_CONFIG_TYPE enumeration value that identifies the GPIO pin configuration type.
IoRestrictionTypeA GPIO_PIN_IORESTRICTION_TYPE enumeration value that identifies the type of IO that the pin supports.
DriveStrengthSpecifies the output drive capability of the pin, in hundredths of milliamperes.
DebounceTimeoutSpecifies the hardware debounce wait time, in hundredths of milliseconds.
PinTableA list of pin numbers on the resource that are described by this descriptor.
PinCountThe number of pins in PinTable.
ResourceSourceIndexThis member is always zero.
ResourceSourceNameThis member is always set to "ResourceConsumer."
VendorDataA pointer to a raw data buffer containing vendor-defined byte data to be decoded by the OS driver.
VendorDataLengthThe size of the VendorData buffer.