R01UH0136EJ0210 Rev.2.10
Page 191 of 800
Jul 31, 2012
M16C/64A Group
14. Interrupts
14. Interrupts
14.1
Introduction
Table 14.1 lists Types of Interrupts, and Table 14.2 lists I/O Pins. The pins shown in Table 14.2 are
external interrupt input pins. Refer to the peripheral functions for the pins related to the peripheral
functions.
Table 14.1
Types of Interrupts
Type
Interrupt
Function
Software
Undefined instruction (UND
instruction)
Overflow (INTO instruction)
BRK instruction
INT instruction
An interrupt is generated by executing an
instruction.
Non-maskable interrupt
Hardware
Specific
NMI
Watchdog timer
Oscillator stop/restart detect
Voltage monitor 1
Voltage monitor 2
Address match
Single step
(1)
DBC
(1)
Interrupt by the MCU hardware
Non-maskable interrupt
Peripheral
function
INT
, timers, etc.
(Refer to 14.6.2 “Relocatable
Vector Tables”.)
Interrupt by the peripheral functions in the MCU
Maskable interrupt
(interrupt priority level: 7 levels)
Notes:
1.
This interrupt is provided exclusively for developers and should not be used.
2.
Maskable interrupt: Interrupt status (enabled or disabled) can be selected by the interrupt
enable flag (I flag).
Interrupt priority can be changed by the interrupt priority level.
Non-maskable interrupt: Interrupt status (enabled or disabled) cannot be selected by the interrupt
enable flag (I flag).
Interrupt priority cannot be changed by the interrupt priority level.
Table 14.2
I/O Pins
Pin Name
I/O
Function
NMI
Input
NMI
interrupt input
INTi
Input
INTi
interrupt input
KI0
to
KI3
Input
Key input
i = 0 to 7
Note:
1.
Set the port direction bits which share pins to 0 (input mode).
Содержание M16C/60 Series
Страница 853: ...M16C 64A Group R01UH0136EJ0210...