Priorities for Interrupts

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

Priorities for Interrupts

ソリューションへジャンプ
2,213件の閲覧回数
berat24
Contributor III

Hello everyone,

I am using MCP5777C MCU and I have a question about interrupt priorities. I could not find any tables showing default priorities settings when I have examined reference manuel. 

Is there any source showing us which interrupts have which priority numbers as default?

Thanks in advance:))

0 件の賞賛
返信
1 解決策
2,179件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Pay close attention to INTC chapter for all the details about interrupts and their processing.

If you have multiple interrupts with same priority, first come will be executed.

If 2 come in exact same time then one with lowest INTC number will be executed.

Best regards,

Peter

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
2,180件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Pay close attention to INTC chapter for all the details about interrupts and their processing.

If you have multiple interrupts with same priority, first come will be executed.

If 2 come in exact same time then one with lowest INTC number will be executed.

Best regards,

Peter

0 件の賞賛
返信
2,203件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

Hello,

The default priority is stated in reference manual and it is 0.

petervlna_0-1623306095501.png

petervlna_1-1623306152002.png

Best regards,

Peter

 

 

0 件の賞賛
返信
2,201件の閲覧回数
berat24
Contributor III

@petervlna thanks a lot. The highest priority number is 16 but there are many interrupts. What will do if ı enable 20 different interrupt flag? In this situation, some interrupts will have same priorities.

0 件の賞賛
返信