CHAPTER 7 INTERRUPT/EXCEPTION PROCESSING FUNCTION
User’s Manual U12688EJ4V0UM00
213
Figure 7-7. Example of Processing in Which Another Interrupt Request Is Issued While
Interrupt Is Being Processed (1/2)
Main routine
EI
EI
Interrupt request a
(level 3)
Processing of a
Processing of b
Processing of c
Interrupt request c
(level 3)
Processing of d
Processing of e
EI
Interrupt request e
(level 2)
Processing of f
EI
Processing of g
Interrupt request g
(level 1)
Interrupt request h
(level 1)
Processing of h
Interrupt request b is acknowledged because the
priority ofb is higher than that of a and interrupts are
enabled.
Although the priority of interrupt request d is higher
than that of c, d is held pending because interrupts
are disabled.
Interrupt request f is held pending even if interrupts are
enabled because its priority is lower than that of e.
Interrupt request h is held pending even if interrupts are
enabled because its priority is the same as that of g.
Interrupt
request b
(level 2)
Interrupt request d
(level 2)
Interrupt request f
(level 3)
Remarks 1. a to u in the figure are the names of interrupt requests shown for the sake of explanation.
2. The default priority in the figure indicates the relative priority between two interrupt requests.
Caution The values of the EIPC and EIPSW registers must be saved before executing multiple interrupts.
Summary of Contents for V850E/MS1 UPD703100
Page 2: ...User s Manual U12688EJ4V0UM00 2 MEMO ...
Page 6: ...User s Manual U12688EJ4V0UM00 6 MEMO ...
Page 8: ...User s Manual U12688EJ4V0UM00 8 MEMO ...
Page 12: ...User s Manual U12688EJ4V0UM00 12 MEMO ...
Page 26: ...User s Manual U12688EJ4V0UM00 26 MEMO ...
Page 68: ...User s Manual U12688EJ4V0UM00 68 MEMO ...
Page 124: ...User s Manual U12688EJ4V0UM00 124 MEMO ...
Page 198: ...User s Manual U12688EJ4V0UM00 198 MEMO ...
Page 230: ...User s Manual U12688EJ4V0UM00 230 MEMO ...