This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/MSP432P401R: Interrupt priority using driverlib functions

Part Number: MSP432P401R

Tool/software: Code Composer Studio

I am using the MSP401R red launchpad Rev 2.1

My code uses various interrupts and i wanted to confirm the interrupt priorities using the following code segment. However all returned a priority level of '0' . Does this mean all the peripheral interrupts are assigned a

the same priority level ?

uint8_t tst1, tst2, tst3, tst4, tst5;

tst1 = Interrupt_getPriority(INT_PORT1);
tst2 = Interrupt_getPriority(INT_PORT2);
tst3 = Interrupt_getPriority(INT_PORT5);
tst4 = Interrupt_getPriority(INT_ADC14);
tst5 = Interrupt_getPriority(INT_EUSCIA2);

If that is the case how can i change these levels so that 'INT_PORT2' has the highest priority, followed by INT_ADC14 then INT_EUSCIA2.

Thanks

**Attention** This is a public forum