This lesson finally explains how ARM Cortex-M handles interrupts and why interrupt handlers can be regular C functions on this CPU. Specifically, you will see how the designers of the chip have solved the problem by saving all the right CPU registers and returning from interrupt functions.
------
Resources:
Companion web page for this video course:
https://www.state-machine.com/quickstart
GitHub repository for projects for this video course:
https://github.com/QuantumLeaps/modern-embedded-programming-course
Transcript of this lesson:
https://www.state-machine.com/course/lesson18.txt
Music credits:
The background music comes from:
https://www.bensound.com/royalty-free-music/track/straight
Continue this lesson in the app
Install CourseHive on Android or iOS to keep learning while you move.