
GMS81508/16
37
2.12. INTERRUPTS
The interrupts are usually used when the processing routine has the higher priority than on-going
program and a routine muse be executed at specific interval.
2.12.1. Interrupt Circuit Configuration and Kinds
GMS81508/16 Interrupt circuits consists of Interrupt Enable Register (IENH,IENL), Interrupt
Request Register (IRQH,IRQL), priority circuit and selecting circuit.
The configuration of Interrupt circuit is shown in below.
12
IRQL
IRQH
4
7
7
0
RESET
IFT3
Data BUS
IMOD
6
I-FLAG
BRK
to CPU
Standby
Mode
Release
PRIORITY
CONTROL
T2R
T3R
IENH
8
1
0
3
2
5
4
7
6
8
4
1
0
3
2
5
4
T0R
T1R
INT2R
INT3R
INT0R
INT1R
BITR
WDTR
SR
AR
IENL
4
-
5 4
7 6
Data BUS
4
IFT2
IFT1
IFT0
INT3
INT2
INT1
INT0
IFA
IFWDT
IFBIT
IFS
8
INTERRUPT
VECTOR
ADDRESS
GEN.