Interrupt Priority in Arduino Due

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 :slight_smile:

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 :slight_smile:

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!"