![Panasonic MN103001G/F01K Скачать руководство пользователя страница 48](http://html.mh-extra.com/html/panasonic/mn103001g-f01k/mn103001g-f01k_user-manual_262908048.webp)
2-14
CPU
2.5
Interrupts
2.5.1
Overview of Interrupts
The most important key to real-time control is the ability to shift quickly to interrupt handler processing.
If an interrupt is generated during the execution of an instruction that requires multiple cycles for execution
(multiplication or division instructions, for example), interrupt response is improved by aborting the execution of
the instruction and immediately accepting the interrupt. After control returns from the interrupt processing program,
the aborted instruction is re-executed.
In addition, by minimizing the resources saved to memory to just the 6 bytes of the PC and the PSW when an
interrupt is generated, the speed of interrupt processing is improved, as is the flexibility of software control.
Furthermore, fast response and optimal program allocation are possible by placing interrupt processing programs at
different addresses for each interrupt level.
This microcontroller has the interrupts shown below. When any of these interrupts occurs, control is shifted to the
appropriate processing program in accordance with the cause.
Reset interrupt
Non-maskable interrupt
Priority ranking
Level interrupt n (n = 0 to 6)
Fig. 2-5-1 shows an overview of the interrupt system. This microcontroller is equipped with 19 interrupt group
control blocks outside the CPU, and controls the interrupts of each group separately. Each interrupt group control
block can accept up to 4 interrupt requests. This allows the controller to support to 38 interrupt factors, providing it
with high expandability and enabling flexible ASIC support.
Except for the reset interrupt, all interrupts from the timer and other peripheral circuits and external pin interrupts
are registered in the interrupt group control blocks. Then, the interrupt requests which pass the interrupt priority
level (level 0 to 6) set in the interrupt group control blocks are output to the CPU. Groups 0 is assigned to non-
maskable interrupts only.
Fig. 2-5-1 Overview of the Interrupt System
➤
Interrupt controller (INTC)
4
Group 0
3 factors are allocated to this group: external pin non-maskable
interrupt, watchdog timer overflow interrupt and system error
interrupt. The remaining factor is reserved.
4
4
Group 2
Group 19
7
1
Interrupt group control
Interrupt
Interrupt
Interrupt
8 external pin interrupts as well as timer, serial
and other peripheral interrupts are assigned.
Interrupt group control
CPU
Interrupt group control
Non-maskable interrupts
External interrupts
Содержание MN103001G/F01K
Страница 1: ...MICROCOMPUTER MN1030 MN103001G F01K LSI User s Manual Pub No 23101 050E ...
Страница 2: ......
Страница 4: ......
Страница 6: ......
Страница 7: ...14 A D Converter 15 I O Ports 16 Internal Flash Memory 17 Ordering Mask ROM Appendix 14 15 16 17 ...
Страница 8: ......
Страница 9: ...Table of Contents List of Figures and Tables 0 ...
Страница 26: ...xviii ...
Страница 27: ...1 0 1 General Specifications ...
Страница 35: ...2 CPU 2 ...
Страница 57: ...3 Extension Instruction Specifications 3 ...
Страница 96: ...Extension Instruction Specifications 3 40 ...
Страница 97: ...4 Memory Modes 3 4 ...
Страница 102: ...Memory Modes 4 6 ...
Страница 103: ...5 Operating Mode 5 ...
Страница 107: ...6 Clock Generator 6 13 ...
Страница 111: ...7 Internal Memory 7 ...
Страница 114: ...Internal Memory 7 4 ...
Страница 115: ...8 Bus Controller BC 8 ...
Страница 189: ...9 Interrupt Controller 9 ...
Страница 220: ...Interrupt Controller 9 32 ...
Страница 221: ...10 8 bit Timers 9 10 ...
Страница 254: ...8 bit Timers 10 34 ...
Страница 255: ...11 16 bit Timers 11 ...
Страница 292: ...16 bit Timers 11 38 ...
Страница 293: ...12 Watchdog Timer 11 12 ...
Страница 302: ...Watchdog Timer 12 10 ...
Страница 303: ...13 Serial Interface 13 ...
Страница 354: ...Serial Interface 13 52 ...
Страница 355: ...14 A D Converter 14 ...
Страница 367: ...15 I O Ports 15 ...
Страница 431: ...16 Internal Flash Memory 16 ...
Страница 439: ...17 17 Ordering Mask ROM ...
Страница 442: ...Ordering Mask ROM 17 4 ...
Страница 443: ...Appendix ...