
Interrupt Controller
9-31
[Cautions]
1.
Maintain external pin interrupt signals for at least 10, 5, or 2.5 SYSCLK cycles when
n
fr = (MCLK frequency/
SYSCLK frequency) = 1, 2, or 4, respectively. The interrupt cannot be detected if the signal is not maintained
for at least that long.
However, when recovering from HALT mode in response to an external pin interrupt signal, maintain the
signal for at least 22, 11, or 5.5 SYSCLK cycles when
n
fr = 1, 2, or 4, respectively. Furthermore, when
recovering from STOP mode in response to an external pin interrupt signal, maintain the signal for at least 10,
5, 2.5 SYSCLK cycles when
n
fr = 1, 2, or 4, respectively, if there is just one interrupt factor; if there are
multiple interrupt factors, continue the external pin interrupt request until the interrupt factors are confirmed by
the interrupt processing program.
2
Although it is possible to recover from STOP, HALT, or SLEEP mode in response to an external pin (IRQ7 to
0) interrupt, the trigger conditions for recovery differ for each mode, as indicated in the table below.
Mode
Trigger conditions for recovery
STOP or HALT mode
"H"/"L" level (recovery in response to edge input is not possible)
SLEEP mode
Positive edge/negative edge/"H" level/"L" level
3
When writing a GnICR register in an interrupt program in order to clear IR and ID and then returning from the
interrupt program, in order to gain synchronization with the bus controller store buffer be certain to perform an
I/O bus access between the execution of the instruction (movbu, etc.) that is used to write the clear data to the
GnICR register and the execution of the instruction to return from the interrupt program.
Example:
After clearing a GnICR register, read it again.
mov
0x0f:b,d0
; (d0 = clear data)
movbu d0,(GnICR)
; Clears the GnICR flags (GnICR = address of GnICR register to be cleared)
movhu (GnICR),d1
; I/O bus access
(Reads the GnICR register that was cleared)
rti
; Instruction to return from interrupt program
If there is no I/O bus access between the instruction that is used to write the clear data to the GnICR register and
the instruction to return from the interrupt program, the return from the interrupt program is not guaranteed.
Misoperation will occur when executing the interrupt program again after returning, especially when the
RETURN instruction is described after a clear data write.
x
mov
0x0f:b,d0
;
movbu d0,(GnICR)
; Clears the GnICR flags
rti
; Instruction to return from interrupt program
Содержание 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 ...