IT lexicon › Hardware › Pending interrupt

Pending interrupt

Hardware På svenska → Updated: 2026-11-04

An interrupt that has been signalled but not yet serviced, remembered by the interrupt controller as a single bit until it gets its turn.

If the interrupt is masked, or a higher-priority handler is already running, a pending bit gets set instead of anything happening. Once the way is clear, the handler runs. That's why an interrupt can fire the instant you enable it — the event happened ages ago and has been waiting patiently. On Cortex-M the bits live in the NVIC's ISPR and ICPR registers, and software can set them itself to trigger an interrupt, which is exactly how PendSV works.

There's only one bit per interrupt. If the event occurs three times while pending, you get one call, not three. And anyone who clears the peripheral's flag as the very last thing in the handler may, thanks to write buffers, watch the same interrupt run a second time.

← Back to the lexicon