PEP_UNMASKED_INTERRUPT_INFORMATION structure (pep_x.h)

The PEP_UNMASKED_INTERRUPT_INFORMATION structure contains information about an interrupt source.

Syntax

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;

Members

Version

The version of this structure.

Size

The size, in bytes, of this structure.

Flags

A PEP_UNMASKED_INTERRUPT_FLAGS union that indicates whether the interrupt is a primary or secondary interrupt. For more information, see Primary and Secondary Interrupts.

Mode

A KINTERRUPT_MODE enumeration value. This member indicates whether the interrupt is edge-triggered or level-triggered.

Polarity

A KINTERRUPT_POLARITY enumeration value. This member indicates which edge or level of the interrupt signal triggers the interrupt.

Gsiv

The 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.

PinNumber

For 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.

DeviceHandle

For 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.

Remarks

This structure is used by the EnumerateInterruptSource callback routine.

Requirements

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

See also

EnumerateInterruptSource

KINTERRUPT_MODE

KINTERRUPT_POLARITY

PEP_UNMASKED_INTERRUPT_FLAGS