Chapter 5
Interrupts
5.1 Outline of Interrupts
When an interrupt request is acknowledged, control branches to the interrupt routine that is set in an inter-
rupt vector table. Each interrupt vector table must have had the start address of its corresponding interrupt
routine set. For details about interrupt vector tables, refer to section 1.10, "Vector Tables".
5.1.1 Types of Interrupts
Figure 5.1.1 lists the types of interrupts. Table 5.1.1 lists the source of interrupts (nonmaskable) and the
fixed vector tables.
Software
(nonmaskable interrupt)
Interrupt
Hardware
Notes 1: Peripheral function interrupts are generated by the peripheral functions built into the
microcomputer system.
2: This is a dedicated interrupt for development support tools. Do not use this interrupt.
Figure 5.1.1 Classification of Interrupts
•Maskable interrupt:
•Nonmaskable interrupt: This type of interrupt cannot be controlled by using the I flag to enable (or disable)
Rev.2.00 Oct 17, 2005
REJ09B0001-0200
Special
(nonmaskable interrupt)
Peripheral I/O
(maskable interrupt)
This type of interrupt can be controlled by using the I flag to enable (or
disable) the interrupts or by changing the interrupt priority level.
the interrupts or by changing the interrupt priority level.
page 246 of 263
Undefined instruction (UND instruction)
Overflow (INTO instruction)
BRK instruction
INT instruction
Watchdog timer
Oscillation stop detection
Single-step
Address match
1
5.1 Outline of Interrupts
2