CHAPTER 5 INTERRUPT/EXCEPTION PROCESSING FUNCTION
114
Figure 5-8. Example of Interrupt Nesting Process (1/2)
Main routine
EI
EI
Interrupt request a
(level 3)
Processing of a
Processing of b
Interrupt
request b
(level 2)
Processing of c
Interrupt request c
(level 3)
Interrupt request d
(level 2)
Processing of d
Processing of e
EI
Interrupt request e
(level 2)
Interrupt request f
(level 3)
Processing of f
EI
Processing of g
Interrupt request g
(level 1)
Interrupt request h
(level 1)
Processing of h
Interrupt request h is kept pending even if interrupts are
enabled because its priority is the same as that of g.
Interrupt request f is kept pending even if interrupts are
enabled because its priority is lower than that of e.
Interrupt request b is accepted because the priority of
b 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 kept pending because interrupts
are disabled.
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 EIPC and EIPSW must be saved before executing multiple interrupts.
Summary of Contents for V850/SA1 mPD703015
Page 2: ...2 MEMO ...
Page 100: ...100 MEMO ...
Page 144: ...144 MEMO ...
Page 200: ...200 MEMO ...
Page 328: ...328 MEMO ...
Page 356: ...356 MEMO ...
Page 358: ...358 MEMO ...
Page 368: ...368 MEMO ...
Page 374: ...374 MEMO ...
Page 382: ...382 MEMO ...