![Panasonic MN103001G/F01K Скачать руководство пользователя страница 195](http://html.mh-extra.com/html/panasonic/mn103001g-f01k/mn103001g-f01k_user-manual_262908195.webp)
Interrupt Controller
9-7
Non-maskable interrupt control register
Register symbol: G0ICR (NMICR)
Address:
x'34000100
Purpose:
This register determines whether a non-maskable interrupt has been generated.
Bit No.
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Bit
-
-
-
-
-
-
-
-
-
-
-
-
-
SYSE WDIF NMIF
name
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Access
R
R
R
R
R
R
R
R
R
R
R
R
R
R/W
R/W
R/W
Bit No.
Bit name
Description
0
NMIF
External non-maskable interrupt request flag
0: No interrupt request
1: Interrupt detected
1
WDIF
Watchdog timer overflow interrupt request flag
0: No interrupt request
1: Interrupt detected
2
SYSEF
System error interrupt request flag
0: No interrupt request
1: Interrupt detected
The method of clearing flag differs according to the interrupt request flags.
1. External non-maskable interrupt request flag (NMIF) and Watchdog timer overflow interrupt request flag (WDIF)
After a non-maskable interrupt is accepted, these flags can be cleared by writing to the non-maskable interrupt
control register (NMICR).
When a flag is set to “1”, write a “1” to the flag to clear it.
The relationship between the flag status, the data written to the flag, and the new flag status after the data is
written is shown in the table below.
Flag status
Write data
Flag status after write
Flag change
0
0
0
No change.
0
1
0
No change.
1
0
1
No change.
1
1
0
Flag is cleared.
SYSEF
Note: A non-maskable interrupt cannot be generated through software.
2. System error interrupt request flag (SYSEF)
This flag cannot be cleared by writing to the non-maskable interrupt control register (NMICR).
_______
This flag can be cleared by generating a reset interrupt by setting the RST pin to "L" level or by the self-reset,
which is generated by writing to the reset control register (RSTCTR) of the watchdog timer.
Note*:
Normally, the serial debugger uses non-maskable interrupts. The following points should be observed when
performing user application processing using non-maskable interrupts, and when using the serial debugger:
• The non-maskable interrupt processing program should be written so that interrupt factors are checked
within the non-maskable interrupt processing program, and control branches to the debugger program for
all factors other than those that should be processed.
• The program should be written so that if the stack pointer (SP) is changed before branching to the debugger
program, control should branch after the stack pointer is set to the value when the interrupt was accepted.
*For details, refer to the“ MN1030 Series C Source Code Debugger User's Manual”.
Содержание 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 ...