As always, we’re excited to show off another of Richard Wall’s projects. Last week, we learned about using timers and delays with chipKIT Pro. We’ll use that information for this week, where we’ll be learning all about interrupts.
The purpose of this project is to explore detecting events using interrupts or by using preemption that implements a nested interrupt management scheme. Concepts concerning processor context are introduced, as well as interrupt prioritization. The functional requirements for this project are essentially identical to those for last week’s. The biggest difference is that time and button action events are detected by interrupts rather than by software that polls processor flags and logic levels applied to input pins.
Keep checking back to the blog to learn more about cool ways to use microcontrollers!