Forum Discussion
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...
Altera_Forum
Honored Contributor
12 years agoNios II code right? If so, I'm not 100% sure if things are designed to work this way, but it should be easy enough to try, right? You may want to surround the next call to alt_irq_register() with calls to alt_irq_disable() and alt_irq_enable().
I'll look at this further to see if there would be any more concerns about doing this, but these are my initial thoughts.