Interrupt enable

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Interrupt enable

1,160 次查看
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 项奖励
回复
1 回复

1,124 次查看
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 项奖励
回复