
HYUNDAI MicroElectronics
38
Interrupt Source
The interrupts sources are external interrupt source(INT0, INT1,INT2,INT3), peripheral function
source (T0,T1,T2,T3,B.I.T.,W.D.T.,SIO,A/DC) and software interrupt source(BRK).
After reset input(RESET), the program is executed from the address in reset vector table like
general interrupts.
Type Mask Priority Interrupt Request Source Vector
H
Vector
L
Non
Maskable
1 RST Reset Pin FFFF
H
FFFE
H
2 INT0R External Interrupt 0 FFFB
H
FFFA
H
3 INT1R External Interrupt 1 FFF9
H
FFF8
H
4 INT2R External Interrupt 2 FFF7
H
FFF6
H
H/W 5 INT3R External Interrupt 3 FFF5
H
FFF4
H
Interrupt 6 T0R Timer 0 FFF3
H
FFF2
H
7 T1R Timer 1 FFF1
H
FFF0
H
8 T2R Timer 2 FFEF
H
FFEE
H
9 T3R Timer 3 FFED
H
FFFC
H
10 AR A/D Converter FFEB
H
FFEA
H
11 WDTR Watch Dog Timer FFE9
H
FFE8
H
12 BITR Basic Interval Timer FFE7
H
FFE6
H
13 SR Serial I/O FFE5
H
FFE4
H
S/W Interrupt Non
Maskable
BRK Break Instruction FFDF
H
FFDE
H
2.12.2. Interrupt Control
The interrupts is controlled by the interrupt master enable flag I-Flag(3'rd bit of PSW), interrupt
enable register(IENH,IENL), interrupt request register(IRQH,IRQL) except RESET and S/W
interrupt.
Interrupt Enable Register ( IENH, IENL)
This register is composed of interrupt enable flags of each interrupt source, this flags determines
whether an interrupt will be accepted or not. when enable flag is "0", an interrupt corresponding
interrupt source is prohibited.