5
5-7
Ver.0.10
5.3.1 Interrupt Vector Register
■
Interrupt Vector Register (IVECT)
<Address:H'0080 0000>
<When reset: Indeterminate>
D
Bit Name
Function
R
W
0 – 15
IVECT (16 low-order
When an interrupt is accepted, the 16 low-order bits
–
bits of ICU vector
in ICU vector table address for the accepted
table address)
interrupt source is stored in this register.
Note: This register must always be accessed in halfwords.
The Interrupt Vector Register (IVECT) is used when an interrupt is accepted to store the 16 low-
order bits of ICU vector table address for the accepted interrupt source.
Before this function can work, the ICU vector table (addresses H'0000 0094 through H'0000
010F) must have set in it the start addresses of interrupt handlers for each internal peripheral I/O.
When an interrupt is accepted, the 16 low-order bits of ICU vector table address for the accepted
interrupt source is stored in this IVECT register. The EIT handler reads out the content of the
IVECT register by the "LDH" instruction to acquire the ICU vector table address.
When the IVECT register is read out, operations (1) to (4) below are automatically performed in
hardware:
(1) The accepted new IMASK (NEW_IMASK) is set in the IMASK register.
(2) The accepted interrupt request is cleared (not cleared for level-recognized interrupt
sources).
(3) The interrupt request (EI) to the CPU core is cleared.
(4) The ICU's internal sequencer is activated to start internal processing (interrupt priority
resolution).
Note that the Interrupt Vector Register (IVECT) can only be read out by the EIT handler (PSW
register IE bit being disabled). Also, make sure that in the EIT handler, the Interrupt Mask
Register (IMASK) is read out before reading out the IVECT register.
CAUTION
D0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
D15
IVECT
INTERRUPT CONTROLLER (ICU)
5.3 ICU-Related Registers
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 ...