Altera_Forum
Honored Contributor
12 years agoMultiple ISR's for one Interrupt?
I'm working on a design where I need ISR's for timers that are set to 1 sec. 1/2 sec and 1/4 sec intervals. I could just create a separate timer for each function, but this seems wasteful. I had the thought of creating an interval timer that creates an interrupt at 1/4 of a second and then using counters in my c code to keep track of timing. None of these ISR's need to be running at the same time. Can I register one, and then when I'm done with it register a different isr to the same IRQ?