Share via


Add Interrupt Handling Functionality (Compact 2013)

3/26/2014

Most peripheral devices generate interrupts to receive service from the OS. Because these peripheral devices can cause or signal interrupts, their device drivers must process interrupts to service their devices. Devices generate interrupts by using physical interrupt request (IRQ) lines. An IRQ line is a hardware line over which a device can send an interrupt signal to the microprocessor. A system interrupt (SYSINTR), which is also known as a logical interrupt, is a mapping of an IRQ as specified by the OEM adaptation layer (OAL). For more information about the OAL, see BSP Components and Code Organization.

A typical Windows Embedded Compact 2013 device driver separates interrupt handling into two components:

  • An interrupt service routine (ISR)
  • An interrupt service thread (IST)

The following sections describe these components in more detail.

In This Section

  • Service Interrupts
    Describes the sequence of events that typically occurs during interrupt handling.

See Also

Concepts

Implement Your Device Driver