Nearly every embedded system uses interrupt service routines (ISRs). If you need to keep track of time, you likely have a timer interrupt that generates a system tick. If you have a USART, you’re ...
Just as you can often treat device registers as a memory-mapped struct, you can treat an interrupt vector as a memory-mapped array. In my last column, I suggested that you use casts sparingly and with ...