Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can an interrupt interrupt another interrupt ?

interrupt
0
0 Posted

Can an interrupt interrupt another interrupt ?

0
0

Normally, no. When an interrupt occurs it automatically executes a Disable Interrupts (DI) command. As a result, no other interrupt can be serviced until servicing of that interrupt is complete and the assembly instruction RETI is executed. To allow an interrupt to interrupt an interrupt you need to put an Enable Interrupt (EI) instruction at the beginning of each interrupt routine where interrupting will be allowed.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123