I have two interrupts working in my sketch : an external interrupt and an internal timer interrupt. How do I assign higher priority to the external interrupt?
Thanks
I'd start by reading this tutorial
adijsr2012:
I have two interrupts working in my sketch : an external interrupt and an internal timer interrupt. How do I assign higher priority to the external interrupt?
Thanks
First, get several bottles of good scotch - You're going to need them! Then sit down and spend several days understanding the incredibly complex and convoluted interrupt priority hardware in the ARM by reading the data sheet. It is insanely powerful, capable, flexible, and, as a result, complicated.
Regards,
Ray L.
Why is it important? One or the other gets called a few nanoseconds later than it should have?
If this is important then redesign your ISRs. You should be able to support two interrupts accurate to nanoceconds without any difficulty. If not then "you're doing it wrong!"