
Rev. 2.0, 09/02, page 79 of 732
6.5
Interrupt Exception Processing Vectors Table
Table 6.2 lists interrupt sources and their vector numbers, vector table address offsets and interrupt
priorities.
Each interrupt source is allocated a different vector number and vector table address offset. Vector
table addresses are calculated from the vector numbers and address offsets. In interrupt exception
processing, the exception service routine start address is fetched from the vector table indicated by
the vector table address. For the details of calculation of vector table address, see table 5.4,
Calculating Exception Processing Vector Table Addresses in the section 5, Exception Processing.
IRQ interrupts and on-chip peripheral module interrupt priorities can be set freely between 0 and
15 for each pin or module by setting interrupt priority registers A to J (IPRA to IPRJ). However,
the smaller vector number has interrupt source, the higher priority ranking is assigned among two
or more interrupt sources specified by the same IPR, and the priority ranking cannot be changed.
A power-on reset assigns priority level 0 to IRQ interrupts and on-chip peripheral module
interrupts. If the same priority level is assigned to two or more interrupt sources and interrupts
from those sources occur simultaneously, they are processed by the default priority order indicated
in table 6.2.
Table 6.2 Interrupt Exception Processing Vectors and Priorities
Interrupt
Source
Name
Vector
No
.
Vector Table
Starting Address IPR
Default
Priority
External pin
NMI
11
H'0000002C
—
High
User break
12
H'00000030
—
H-UDI
14
H'00000038
—
—
Reserved by system 15
H'0000003C
—
IRQ0
64
H'00000100
IPRA15 to IPRA12
IRQ1
65
H'00000104
IPRA11 to IPRA8
IRQ2
66
H'00000108
IPRA7 to IPRA4
IRQ3
67
H'0000010C
IPRA3 to IPRA0
IRQ4
68
H'00000110
IPRB15 to IPRB12
IRQ5
69
H'00000114
IPRB11 to IPRB8
IRQ6
70
H'00000118
IPRB7 to IPRB4
Interrupts
IRQ7
71
H'0000011C
IPRB3 to IPRB0
DEI0
72
H'00000120
IPRC15 to IPRC12
DEI1
76
H'00000130
IPRC11 to IPRC8
DEI2
80
H'00000140
IPRC7 to IPRC4
DMAC
DEI3
84
H'00000150
IPRC3 to IPRC0
Low