// pep_x.h
typedef struct _PEP_UNMASKED_INTERRUPT_INFORMATION {
USHORT Version;
USHORT Size;
PEP_UNMASKED_INTERRUPT_FLAGS Flags;
KINTERRUPT_MODE Mode;
KINTERRUPT_POLARITY Polarity;
ULONG Gsiv;
USHORT PinNumber;
PEPHANDLE DeviceHandle;
} PEP_UNMASKED_INTERRUPT_INFORMATION, *PPEP_UNMASKED_INTERRUPT_INFORMATION;
View the official Windows Driver Kit DDI reference// pepfx.h
typedef struct _PEP_UNMASKED_INTERRUPT_INFORMATION {
USHORT Version;
USHORT Size;
PEP_UNMASKED_INTERRUPT_FLAGS Flags;
KINTERRUPT_MODE Mode;
KINTERRUPT_POLARITY Polarity;
ULONG Gsiv;
USHORT PinNumber;
PEPHANDLE DeviceHandle;
} PEP_UNMASKED_INTERRUPT_INFORMATION, *PPEP_UNMASKED_INTERRUPT_INFORMATION;
View the official Windows Driver Kit DDI referenceNo description available.
The PEP_UNMASKED_INTERRUPT_INFORMATION structure contains information about an interrupt source.
VersionThe version of this structure.
SizeThe size, in bytes, of this structure.
FlagsA PEP_UNMASKED_INTERRUPT_FLAGS union that indicates whether the interrupt is a primary or secondary interrupt. For more information, see Primary and Secondary Interrupts.
ModeA KINTERRUPT_MODE enumeration value. This member indicates whether the interrupt is edge-triggered or level-triggered.
PolarityA KINTERRUPT_POLARITY enumeration value. This member indicates which edge or level of the interrupt signal triggers the interrupt.
GsivThe global system interrupt vector (GSIV) number that identifies this interrupt. The ACPI firmware assigns GSIV numbers to all primary interrupt lines. For secondary (GPIO) interrupt lines, the GSIV number is dynamically assigned by the operating system.
PinNumberFor secondary interrupt sources, this member identifies the number of the pin on the general-purpose I/O (GPIO) controller that is connected to the interrupt signal line from the interrupting device. For primary interrupt sources, this member is undefined.
If a GPIO controller has N GPIO pins, the pins are numbered 0 to N–1. One or more of these GPIO pins might be configured as interrupt inputs.
DeviceHandleFor secondary interrupt sources, this member contains the PEP device handle for the GPIO controller that is the source for this interrupt. For primary interrupt sources, this field is undefined.
This structure is used by the EnumerateInterruptSource callback routine.
The PEP_UNMASKED_INTERRUPT_INFORMATION structure contains information about an interrupt source.
VersionThe version of this structure.
SizeThe size, in bytes, of this structure.
FlagsA PEP_UNMASKED_INTERRUPT_FLAGS union that indicates whether the interrupt is a primary or secondary interrupt. For more information, see Primary and Secondary Interrupts.
ModeA KINTERRUPT_MODE enumeration value. This member indicates whether the interrupt is edge-triggered or level-triggered.
PolarityA KINTERRUPT_POLARITY enumeration value. This member indicates which edge or level of the interrupt signal triggers the interrupt.
GsivThe global system interrupt vector (GSIV) number that identifies this interrupt. The ACPI firmware assigns GSIV numbers to all primary interrupt lines. For secondary (GPIO) interrupt lines, the GSIV number is dynamically assigned by the operating system.
PinNumberFor secondary interrupt sources, this member identifies the number of the pin on the general-purpose I/O (GPIO) controller that is connected to the interrupt signal line from the interrupting device. For primary interrupt sources, this member is undefined.
If a GPIO controller has N GPIO pins, the pins are numbered 0 to N–1. One or more of these GPIO pins might be configured as interrupt inputs.
DeviceHandleFor secondary interrupt sources, this member contains the PEP device handle for the GPIO controller that is the source for this interrupt. For primary interrupt sources, this field is undefined.
This structure is used by the EnumerateInterruptSource callback routine.