Bewerken

Delen via


KINTERRUPT_MODE enumeration (wdm.h)

The KINTERRUPT_MODE enumeration type indicates whether an interrupt is level-triggered or edge-triggered.

Syntax

typedef enum _KINTERRUPT_MODE {
  LevelSensitive,
  Latched
} KINTERRUPT_MODE;

Constants

 
LevelSensitive
The interrupt is level-triggered. This is the mode for traditional PCI line-based interrupts.
Latched
The interrupt is edge-triggered. This is the mode for PCI message-signaled interrupts.

Remarks

The interrupt mode is an electrical characteristic of the interrupt. A device signals a level-triggered interrupt by changing the voltage on the interrupt pin, and holding it there until the processor signals that the interrupt is received. In contrast, to signal an edge-triggered interrupt, the device changes the voltage state for a fixed period of time, before reverting to the original voltage state.

Requirements

Requirement Value
Header wdm.h (include Wdm.h, Ntddk.h, Ntifs.h, Miniport.h, Wudfwdm.h)

See also

IoConnectInterrupt

IoConnectInterruptEx

KINTERRUPT_POLARITY