Chapter 5
Interrupt
5.1 Outline of Interrupt
When an interrupt request is acknowledged, control branches to the interrupt routine that is set to an inter-
rupt vector table. Each interrupt vector table must have had the start address of its corresponding interrupt
routine set. For details about the interrupt vector table, refer to Section 1.10, "Vector Table".
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
Note 1: Peripheral function interrupts are generated by the peripheral functions built into the
microcomputer system.
Note 2: This is 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)
Special
(Nonmaskable interrupt)
Peripheral I/O (Note 1)
(Maskable interrupt)
This type of interrupt can be controlled by using the I flag to enable (or
disable) an interrupt or by changing the interrupt priority level.
an interrupt or by changing the interrupt priority level.
246
Undefined instruction (UND instruction)
Overflow (INTO instruction)
BRK instruction
INT instruction
Watchdog timer
Oscillation stop deteciont
Single step (Note 2)
Address matched
5.1 Outline of Interrupt