May 2020
Intermediate to advanced
524 pages
13h 35m
English
An interrupt is an external or an internal (e.g., timer) event that requests the CPU to stop what it is currently executing, and immediately jump to execute a different code. The code that the CPU jumps to is known as the interrupt service routine (ISR). Interrupts are asynchronous events since the CPU does not know when the interrupt will occur in a program as it can occur at any time. The time between the generation of an interrupt request and the entry into the ISR is known as the “interrupt latency.” The faster the interrupt latency (i.e., the lower the value) is always better as this shows that the system response is fast. This chapter describes how to use the external as well ...
Read now
Unlock full access