Interrupt enable

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Interrupt enable

1,127 Views
mehmetkaradag
Contributor III

Dear All,

I use MPC5777C.

if priority register of any interrupt is zero ,does that indicate the corresponding interrupt is disabled? Because your INT_SYS_EnableIRQ function is just doing set the priority register of corresponding ISR. I have seen that all interrupts that i have used is 1 the priority register of corresponding ISR and Interrupts i have not used is 0 the priority register of corresponding ISR.

I hope someone can help me, thank you.

0 Kudos
Reply
1 Reply

1,091 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Simply follow reference manual:

petervlna_0-1681195655659.png

if priority register of any interrupt is zero ,does that indicate the corresponding interrupt is disabled?

petervlna_1-1681196370900.png

 

It is not disabled, but wont be served by INTC to prevent situation described above.

Simply said. If you want interrupt to reach the core, then you need to set its priority higher than 0.

Best regards,

Peter

 

0 Kudos
Reply