Hi All,
I have a question about interrupt prioritiy. Suppose there are two interrupts, IntA and IntB, IntA has a high interrupt priority than IntB. What happen if IntB occurs in the ISR of IntA? Will IntB be ignored or served after the ISR of IntA?
CPkwok
Solved! Go to Solution.
Hello CPkwok, and welcome to the forum.
During execution of an ISR, by default further interrupts are globally disabled until the current ISR is completed. However, the various interrupt flags controlled by each hardware peripheral may be set during this period, and the interrupt will become pending.
When the current ISR finishes, the highest priority pending interrupt will next be processed. No interrupt events should be lost.
Regards,
Mac
Hello CPkwok, and welcome to the forum.
During execution of an ISR, by default further interrupts are globally disabled until the current ISR is completed. However, the various interrupt flags controlled by each hardware peripheral may be set during this period, and the interrupt will become pending.
When the current ISR finishes, the highest priority pending interrupt will next be processed. No interrupt events should be lost.
Regards,
Mac