Interrupt enable

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Interrupt enable

1,125件の閲覧回数
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,089件の閲覧回数
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 件の賞賛
返信