Interrupt Request

Why Trust Techopedia

What Does Interrupt Request Mean?

An interrupt request (IRQ) is an asynchronous signal sent from a device to a processor indicating that in order to process a request, attention is required. A hardware IRQ is induced by a hardware peripheral or device request, whereas a software IRQ is induced by a software instruction. Both result in processor status savings, and revert to serving the IRQ using an interrupt handler routine.

Advertisements

Techopedia Explains Interrupt Request

Interrupts are commonly used to implement computing multitasking and effectively eliminate the requirement for the processor to sample (poll) the lines while waiting for external events.

An IRQ is served to the processor by programmable interrupt controllers (PICs), which prioritize and manage the interrupts to the processor. A well-known device in personal computer (PC) architecture is the Intel 8259A PIC, which was later supplanted by the advanced PICs (APICs) but continues to be used today.

Interrupts can be level-triggered or edge-triggered. Level-triggered interrupts indicate that the line is held by the device at an active level, triggering the interrupt until it is served. Edge-triggered interrupts indicate that the device triggers the line shortly from level 1 to 0 (or vice versa). The PIC is expected to catch this trigger and service the interrupt.

IRQ levels are allocated to devices to indicate their identities. For example, in a PC, IRQ0 through IRQ15 denote the 16 levels associated with the mouse, keyboard, serial port, sound card, floppy disk controller, and the primary/secondary advanced technology attachment (ATA) channels used for hard disk devices.

When two devices use the same level, IRQ conflicts occur. Today, USB plug and play (PnP) devices have virtually eliminated this problem.

Advertisements

Related Terms

Margaret Rouse
Editor

Margaret jest nagradzaną technical writerką, nauczycielką i wykładowczynią. Jest znana z tego, że potrafi w prostych słowach pzybliżyć złożone pojęcia techniczne słuchaczom ze świata biznesu. Od dwudziestu lat jej definicje pojęć z dziedziny IT są publikowane przez Que w encyklopedii terminów technologicznych, a także cytowane w artykułach ukazujących się w New York Times, w magazynie Time, USA Today, ZDNet, a także w magazynach PC i Discovery. Margaret dołączyła do zespołu Techopedii w roku 2011. Margaret lubi pomagać znaleźć wspólny język specjalistom ze świata biznesu i IT. W swojej pracy, jak sama mówi, buduje mosty między tymi dwiema domenami, w ten…