pending Interrupt of HCS08

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

pending Interrupt of HCS08

Jump to solution
1,279 Views
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 

Labels (1)
0 Kudos
1 Solution
353 Views
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

 

View solution in original post

0 Kudos
1 Reply
354 Views
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 Kudos