pending Interrupt of HCS08

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

pending Interrupt of HCS08

ソリューションへジャンプ
1,822件の閲覧回数
left
Contributor I

Hi All,

 

I have a question about interrupt prioritiy. Suppose there are two interrupts, IntA and IntB, IntA has a high interrupt priority than IntB. What happen if IntB occurs in the ISR of IntA? Will IntB be ignored or served after the ISR of IntA?

 

CPkwok 

ラベル(1)
0 件の賞賛
返信
1 解決策
896件の閲覧回数
bigmac
Specialist III

Hello CPkwok, and welcome to the forum.

 

During execution of an ISR, by default further interrupts are globally disabled until the current ISR is completed.  However, the various interrupt flags controlled by each hardware peripheral may be set during this period, and the interrupt will become pending.

 

When the current ISR finishes, the highest priority pending interrupt will next be processed.  No interrupt events should be lost.

 

Regards,

Mac

 

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
897件の閲覧回数
bigmac
Specialist III

Hello CPkwok, and welcome to the forum.

 

During execution of an ISR, by default further interrupts are globally disabled until the current ISR is completed.  However, the various interrupt flags controlled by each hardware peripheral may be set during this period, and the interrupt will become pending.

 

When the current ISR finishes, the highest priority pending interrupt will next be processed.  No interrupt events should be lost.

 

Regards,

Mac

 

0 件の賞賛
返信