O'Reilly logo

The Definitive Guide to ARM® Cortex®-M0 and Cortex-M0+ Processors, 2nd Edition by Joseph Yiu

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 8

Exceptions and Interrupts

Abstract

This chapter covers the details of various exception types (including interrupts) and the Nested Vectored Interrupt Controller component inside the processor—a programmable interrupt controller with various flexible features for interrupt management. This chapter also covers the details of exception handling processes, the vector table, and how software can use APIs in CMSIS for interrupt management.

Keywords

Exception types; EXC_RETURN (exception return code); Interrupt management; Interrupt masking; Interrupt sequences; Late arrival; Nested vectored interrupt controller (NVIC); Priority levels; Tail chaining; Vector table

8.1. What are Exceptions and Interrupts?

In most microcontrollers, the interrupt feature ...

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