5
5-21
Ver.0.10
Figure 5.5.2 Typical Operation for Interrupts from Internal Peripheral I/O
H'0000 0080
BRA instruction
Read Interrupt Vector
Register (IVECT)
Read ICU vector table
Branch to interrupt handler
for each internal peripheral I/O
RTE
H'0080 0004
H'0000 0094
H'0000 010F
..
.
Interrupt
handler
EI (External Interrupt)
handler
EI (External Interrupt)
vector entry
Address
Program
being executed
Interrupt
generated
IVECT
..
..
..
Save BPC to stack
Save PSW to stack
Save general-purpose
register to stack
Restore BPC
Restore PSW
Restore general-
purpose register
Read Interrupt Mask
Register (IMASK) and
save it to stack
IMASK
H'0080 0000
PSW register IE bit = 1
PSW register IE bit = 0
Restore Interrupt Mask
Register (IMASK)
1
2
3
4
6
7
8
5
9
10
10
1 -
8
5
: Processing of EI by
interrupt handler
: When enabling multiple
interrupts
..
..
..
ICU vector
table
Note: For operations performed when accepting EIT and returning from
handlers, also refer to Section 4.3, "EIT Processing Procedure."
(Note)
(Note)
Interrupt
handler
INTERRUPT CONTROLLER (ICU)
5.5 Description of Interrupt Operation
Summary of Contents for M32170F3VFP
Page 42: ...1 1 24 Ver 0 10 OVERVIEW 1 4 Pin Layout This is a blank page ...
Page 56: ...2 2 14 Ver 0 10 This is a blank page ...
Page 88: ...3 3 32 Ver 0 10 ADDRESS SPACE 3 7 Notes on Address Space This is a blank page ...
Page 270: ...9 9 40 Ver 0 10 DMAC 9 4 Precautions about the DMAC This is a blank page ...
Page 614: ...12 12 64 Ver 0 10 This is a blank page SERIAL I O 12 9 Precautions on Using UART Mode ...
Page 756: ...17 17 10 Ver 0 10 RAM BACKUP MODE 17 4 Exiting RAM Backup Mode Wakeup This is a blank page ...
Page 762: ...18 18 6 Ver 0 10 OSCILLATION CIRCUIT 18 2 Clock Generator Circuit This is a blank page ...
Page 831: ...CHAPTER 22 CHAPTER 22 TYPICAL CHARACTERISTICS 22 1 A D Conversion Characteristics ...
Page 833: ...Appendix 1 1 Dimensional Outline Drawing APPENDIX 1 APPENDIX 1 MECHANICAL SPECIFICATIONS ...
Page 841: ...Appendix 3 1 Precautions about Noise APPENDIX 3 APPENDIX 3 PRECAUTIONS ABOUT NOISE ...