O'Reilly logo

Embedded Software Development with eCos™ by Anthony J. Massa

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

3.2. Interrupts

An interrupt is an asynchronous external event that occurs during program execution, causing a break in the normal program execution. Typically, these external events are hardware related, such as a button press or timer expiration. Interrupts can happen at any time. Interrupts allow time-critical operations to be performed with higher precedence over normal program execution.

Similar to exception processing, when an interrupt occurs, the processor jumps to a specific address for execution of the Interrupt Service Routine (ISR). Hardware support for interrupts varies among different architectures. Each processor has its own number of interrupt pins to trigger the ISR.

The methods for vector handling among different architectures ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required