4
4-4
Ver.0.10
4.3 EIT Processing Procedure
EIT processing consists of two parts, one in which they are handled automatically by hardware, and
one in which they are handled by user-created programs (EIT handlers). The procedure for
processing EITs when accepted, except for a rest interrupt, is shown below.
Figure 4.3.1 Outline of EIT Processing Procedure
Instruction
A
Instruction
B
Instruction
C
PC BPC
PSW (B)PSW
EIT vector
entry
EIT handlers except for SBI
RTE
instruc-
tion
Instruction
C
Instruction
D
••••
Program
suspended
EIT request
accepted
Instruction
processing-
canceled type
(RIE, AE)
Instruction processing
-completed type
(EI, TRAP)
Program execution restarted
EIT request
generated
Hardware
preprocessing
BPC, (B)PSW,
and general-purpose
registers saved to
stack
Branch
instruc
-tion
General-purpose
registers, (B)PSW,
and BPC restored
from stack
SBI
(System Break Interrupt
processing)
Hardware
postprocessing
(SBI)
Program terminated or
system is reset
User-created EIT handler
(B)PSW PSW
BPC PC
Processing
by
handler
Note: (B)PSW denotes the BPSW field of the PSW register.
EIT
4.3 EIT Processing Procedure
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 ...