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
Technology Expert
Margaret Rouse
Technology Expert

Margaret é uma premiada redatora e professora conhecida por sua habilidade de explicar assuntos técnicos complexos para um público empresarial não técnico. Nos últimos vinte anos, suas definições de TI foram publicadas pela Que em uma enciclopédia de termos tecnológicos e citadas em artigos do New York Times, Time Magazine, USA Today, ZDNet, PC Magazine e Discovery Magazine. Ela ingressou na Techopedia em 2011. A ideia de Margaret de um dia divertido é ajudar os profissionais de TI e de negócios a aprenderem a falar os idiomas altamente especializados uns dos outros.