62
CHAPTER 3 INTERRUPTS
3.4
Interrupt Flow
Figure 3.4-1 shows the interrupt flow.
■
Interrupt Flow
Figure 3.4-1 Interrupt Flow
YE
S
YE
S
YE
S
NO
NO
NO
NO
YE
S
I & IF & IE = 1
AND
ILM > IL
I
S
E = 1
I: Fl
a
g in CCR
ILM: Level regi
s
ter in CPU
IF: Intern
a
l re
s
o
u
rce interr
u
pt re
qu
e
s
t
IE: Intern
a
l re
s
o
u
rce interr
u
pt en
ab
le fl
a
g
I
S
E: EI
2
O
S
en
ab
le fl
a
g
IL: Intern
a
l re
s
o
u
rce interr
u
pt re
qu
e
s
t level
S
: Fl
a
g in CCR
Fetching
a
nd decoding
INT in
s
tr
u
ction
Exec
u
ting
a
n ordin
a
ry
Completion of
Upd
a
ting PC
Sa
ving P
S
, PC, PCB, DTB,
Exec
u
ting the extended
Sa
ving P
S
, PC, PCB, DTB, ADB,
S
←
1
Fetching the interr
u
pt vector
the next in
s
tr
u
ction
in
s
tr
u
ction
s
tring in
s
tr
u
ction
repetition
intelligent I/O
s
ervice
ADB, DPR,
a
nd A into the
s
t
a
ck of
SS
P,
a
nd
s
etting ILM=IL
DPR,
a
nd A into the
s
t
a
ck of
SS
P,
a
nd
s
etting I=0
a
nd ILM=IL
Summary of Contents for MB90390 Series
Page 2: ......
Page 4: ......
Page 17: ...xiii APPENDIX D List of Interrupt Vectors 690 INDEX 695 ...
Page 18: ...xiv ...
Page 132: ...104 CHAPTER 5 CLOCKS ...
Page 152: ...124 CHAPTER 6 CLOCK MODULATOR ...
Page 210: ...182 CHAPTER 11 TIME BASE TIMER ...
Page 218: ...190 CHAPTER 12 WATCHDOG TIMER ...
Page 264: ...236 CHAPTER 14 16 BIT RELOAD TIMER WITH EVENT COUNT FUNCTION ...
Page 274: ...246 CHAPTER 15 WATCH TIMER ...
Page 306: ...278 CHAPTER 17 DTP EXTERNAL INTERRUPTS ...
Page 338: ...310 CHAPTER 18 8 10 BIT A D CONVERTER ...
Page 364: ...336 CHAPTER 19 UART0 UART1 ...
Page 398: ...370 CHAPTER 20 UART2 UART3 Figure 20 5 2 ORE Set Timing Receive data RDRF ORE ...
Page 432: ...404 CHAPTER 20 UART2 UART3 ...
Page 482: ...454 CHAPTER 22 SERIAL I O ...
Page 560: ...532 CHAPTER 24 STEPPING MOTOR CONTROLLER ...
Page 582: ...554 CHAPTER 27 ROM MIRRORING MODULE ...
Page 632: ...604 CHAPTER 29 EXAMPLES OF SERIAL PROGRAMMING CONNECTION ...
Page 722: ...694 APPENDIX ...
Page 723: ...695 INDEX The index follows on the next page This is listed in alphabetic order ...
Page 740: ......