Preliminary User’s Manual A14874EJ3V0UM
206
CHAPTER 8 INTC
The interrupt control unit (INTC), which can process interrupt requests generated for a total of 67 sources,
processes various types of interrupt requests from external sources. In addition, exception processing can be started
(exception trap) due to a TRAP instruction (software exception) or due to the generation of an exception event
(fetching of an illegal opcode).
An interrupt is an event that is generated independently of program execution, and an exception is an event that is
generated dependent on program execution. Generally, the processing of an exception takes precedence over the
processing of an interrupt.
8.1 Features
•
Interrupt
Non-maskable interrupt: 3 sources
Maskable interrupt: 64 sources
8 levels programmable priorities (maskable interrupt)
Multiple interrupt control according to priority
Mask specification to each maskable interrupt request
•
Exception
Software exception: 32 sources
Exception trap: 1 source (illegal opcode exception)
These interrupt/exception sources are listed in Table 8-1.
Table 8-1. Interrupt/Exception List (1/3)
Interrupt/Exception Source
Type
Classifi-
cation
Name
Control Register Generating Source
Default
Priority
Exception
Code
Handler
Address
Restored
PC
Reset
Interrupt
RESET
−
DCRESZ input
−
0000H
00000000H
Undefined
Interrupt
NMI0
−
DCNMI0 input
−
0010H
00000010H
nextPC
Interrupt
NMI1
−
DCNMI1 input
−
0020H
00000020H
nextPC
Non-maskable
Interrupt
NMI2
−
DCNMI2 input
−
0030H
00000030H
nextPC
Exception TRAP0n
Note
−
TRAP instruction
−
004nH
00000040H
nextPC
Software
exception
Exception TRAP1n
Note
−
TRAP instruction
−
005nH
00000050H
nextPC
Exception trap
Exception ILGOP
−
Illegal opcode
−
0060H
00000060H
nextPC
Interrupt
INT0
PIC0
INT0 input
0
0080H
00000080H
nextPC
Interrupt
INT1
PIC1
INT1 input
1
0090H
00000090H
nextPC
Interrupt
INT2
PIC2
INT2 input
2
00A0H
000000A0H
nextPC
Interrupt
INT3
PIC3
INT3 input
3
00B0H
000000B0H
nextPC
Interrupt
INT4
PIC4
INT4 input
4
00C0H
000000C0H
nextPC
Interrupt
INT5
PIC5
INT5 input
5
00D0H
000000D0H
nextPC
Maskable
Interrupt
INT6
PIC6
INT6 input
6
00E0H
000000E0H
nextPC
Note
n: value of 0 to FH