Hi,teams:
I want to know how to modify the priority of the interrupt.According to the query information, the interrupt priority of MSP430 is arranged according to the size of the vector where it is located. The higher the interrupt vector address, the higher the priority.
Now, I use the ADC sampling interrupt and timer interrupt. According to the vector table address, I found that the priority of the ADC sampling interrupt is higher than that of the timer interrupt. If I want to make the timer interrupt priority higher than the ADC sampling interrupt, what should I do?
Before:


Can I just swap their interrupt addresses?
After:
#define ADC12_B_VECTOR 41*1U
#define TIMER1_A0_VECTOR 46*1U
I look forward to your reply, thank you