Part Number: MSP432P401R
Hi friends,
I 'am working in MSP432P401R, and i have three interruptions i need to set priorities how can do this?
On the main function I have the following code:
__enable_irq();
NVIC->ISER[0] = 1 << ((TA0_0_IRQn) & 31); /*ENABLE INTERRUPT IN TIMER */
NVIC->ISER[0] = 1 << ((EUSCIB0_IRQn) & 31);
NVIC->ISER[0] = 1 << ((PORT4_IRQn) & 31); /*ENABLE INTERRUPT IN PORT3 */
Is this the right way to define each interrupt?
thanks in advance