Question:
Example code for changing priority of interrupts in ARM CORE
Answer:
In the attached code, Nesting macro is used to exhibit the scenario of High priority Timer isr which interrupts the low priority running pushbutton ISR. Priority_changed macro is used to interchange the priorities of Timer and Pushbutton interrupts then we can observe that Push button ISR interrupts the Timer ISR.