NEC 78K0/KD1 Series User Manual page 339

8-bit single-chip microcontrollers
Table of Contents

Advertisement

Example 3. Multiple interrupt servicing does not occur because interrupts are not enabled
Interrupts are not enabled during servicing of interrupt INTxx (EI instruction is not issued), therefore, interrupt
request INTyy is not acknowledged and multiple interrupt servicing does not take place. The INTyy interrupt request
is held pending, and is acknowledged following execution of one main processing instruction.
PR = 0: Higher priority level
IE = 0:
Interrupt request acknowledgement disabled
CHAPTER 16 INTERRUPT FUNCTIONS
Figure 16-10. Examples of Multiple Interrupt Servicing (2/2)
Main processing
IE = 0
EI
INTxx
(PR = 0)
IE = 1
1 instruction execution
Preliminary User's Manual U16315EJ1V0UD
INTxx servicing INTyy servicing
INTyy
(PR = 0)
RETI
IE = 0
RETI
IE = 1
339

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents