O'Reilly logo

Real-Time Embedded Systems by Xiaocong Fan

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

Chapter 4

Interrupts

Abstract

Interrupt is a mechanism by which a microprocessor can alter its flow of execution to handle asynchronous or synchronous events. Interrupts can be classified into three categories. The asynchronous events generated by external hardware devices are called external or hardware interrupts. A program may execute special processor instructions to generate synchronous events, which are called software interrupts. A processor itself may also respond to internal interrupts, or exceptions, whenever some abnormal condition occurs during instruction execution. In this chapter, we examine the nonvectored and vectored interrupt processes, and learn a few design patterns for interrupt service routines. The interrupt mechanisms ...

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