
R01UH0336EJ0102 Rev.1.02
Page 188 of 1538
Jul 17, 2014
V850E2/PG4-L
Section 4 Interrupt Functions
Figure 4-7
Example of Servicing Interrupt Request Signals Simultaneously
Generated
Caution
To perform multiple interrupt servicing, the values of the EIPC and EIPSW registers must be
saved before executing the EI instruction. When returning from multiple interrupt servicing,
restore the values of EIPC and EIPSW after executing the DI instruction.
Note 1.
The letters a to c in the figure are simply labels for convenient reference to the
interrupt requests in the explanation.
Note 2.
The default priority in the figure indicates the relative priority between two interrupt
request signals.
Default priority
a > b > c
Main routine
EI
Interrupt request a (level 2)
Interrupt request b (level 1)
Interrupt request c (level 1)
Servicing of interrupt request b
Servicing of interrupt request c
Servicing of interrupt request a
u
Interrupt request b and c are
acknowledged first according to their
priorities.
u
Because the priorities of b and c are
the same, b is acknowledged first
according to the default priority.
Содержание V850 Series
Страница 1556: ...V850E2 PG4 L R01UH0336EJ0102 Back Cover ...