
2-18
CPU
2.5.3
Interrupt Types
The three types of interrupts are listed below:
[Reset interrupt]
The reset interrupt is the interrupt with the highest priority level, and is generated by setting the RST pin to "L"
level. As a result of the reset interrupt, the registers, etc., are initialized. When the RST pin goes to "H" level, the
microcontroller waits until the oscillation of the internal clock stabilizes, and then begins executing program
instructions starting from address x'40000000.
[Non-maskable Interrupts]
Non-maskable interrupts are accepted regardless of the PSW interrupt enable (IE) and interrupt mask level IM2 to
IM0 values. These interrupts include external pin non-maskable interrupt, watchdog timer overflow interrupt and
system error interrupt.
When a non-maskable interrupt is accepted, control transfers to an interrupt processing program located at x'40000008
or beyond.
The interrupt handler accesses NMICR to analyze the interrupt factor, performs interrupt processing, cancels the
interrupt factor, and then returns to the normal program using the RTI instruction.
External pin non-maskable interrupt
External pin non-maskable interrupt is generated when the NMIRQ pin goes to "L" level. If an external pin
non-maskable interrupt is generated, the external non-maskable interrupt request flag (NMIF) in the non-
maskable interrupt control register (NMICR) is set to "1".
Watchdog timer overflow interrupt
Watchdog timer overflow interrupt occurs when the watchdog timer count operation control flag (WDCNE)
in the watchdog timer control register (WDCTR) is "1" and the watchdog timer overflows. If a watchdog
interrupt is generated, the watchdog timer overflow interrupt request flag (WDIF) in the non-maskable interrupt
control register (NMICR) is set to "1".
System error interrupt
System error interrupt occurs when an unaligned memory access or an unimplemented instruction is executed
or other fatal error occurs. If a system error interrupt is generated, the system error interrupt request flag
(SYSEF) in the non-maskable interrupt control register (NMICR) is set to "1".
Note: Do not change the interrupt enable (IE) in PSW during non-maskable interrupt processing.
Summary of Contents for MN103001G/F01K
Page 1: ...MICROCOMPUTER MN1030 MN103001G F01K LSI User s Manual Pub No 23101 050E ...
Page 2: ......
Page 4: ......
Page 6: ......
Page 8: ......
Page 9: ...Table of Contents List of Figures and Tables 0 ...
Page 26: ...xviii ...
Page 27: ...1 0 1 General Specifications ...
Page 35: ...2 CPU 2 ...
Page 57: ...3 Extension Instruction Specifications 3 ...
Page 96: ...Extension Instruction Specifications 3 40 ...
Page 97: ...4 Memory Modes 3 4 ...
Page 102: ...Memory Modes 4 6 ...
Page 103: ...5 Operating Mode 5 ...
Page 107: ...6 Clock Generator 6 13 ...
Page 111: ...7 Internal Memory 7 ...
Page 114: ...Internal Memory 7 4 ...
Page 115: ...8 Bus Controller BC 8 ...
Page 189: ...9 Interrupt Controller 9 ...
Page 220: ...Interrupt Controller 9 32 ...
Page 221: ...10 8 bit Timers 9 10 ...
Page 254: ...8 bit Timers 10 34 ...
Page 255: ...11 16 bit Timers 11 ...
Page 292: ...16 bit Timers 11 38 ...
Page 293: ...12 Watchdog Timer 11 12 ...
Page 302: ...Watchdog Timer 12 10 ...
Page 303: ...13 Serial Interface 13 ...
Page 354: ...Serial Interface 13 52 ...
Page 355: ...14 A D Converter 14 ...
Page 367: ...15 I O Ports 15 ...
Page 431: ...16 Internal Flash Memory 16 ...
Page 439: ...17 17 Ordering Mask ROM ...
Page 442: ...Ordering Mask ROM 17 4 ...
Page 443: ...Appendix ...