HMS87C5216 ETC1 [List of Unclassifed Manufacturers], HMS87C5216 Datasheet - Page 54

no-image

HMS87C5216

Manufacturer Part Number
HMS87C5216
Description
CMOS SINGLE-CHIP 8-BIT MICROCONTROLLER FOR UR(Universal Remocon) & WIRELESS KEYBOARD
Manufacturer
ETC1 [List of Unclassifed Manufacturers]
Datasheet
HMS87C5216
Interrupt vector of BRK instruction is shared by vector of Table
Call (TCALL0). When both instruction of BRK and TCALL0
are used, as shown in Figure 13-4each processing routine is
13.6 MULTIPLE INTERRUPT
If there is an interrupt, Interrupt Mask Enable Flag is automatical-
ly cleared before entering the Interrupt Service Routine. After
then, no interrupt is accepted. If EI instruction is executed, inter-
rupt mask enable bit becomes ``1``, and each enable bit can ac-
13.7 Key Scan Input Processing
(1) Standby Mode Release Register (SMRR)
Key Scan Interrupt is generated by detecting low or high Input
from each Input pin (R0, R1) is one of the sources which release
standby (SLEEP, STOP) mode. Key Scan ports are all 16bit
Figure 13-4 Execution of BRK or TCALL0
PSW
PSW
TCALL0
BRK or
N
N
V
V
BRK INTERRUPT ROUTINE
Flag change by BRK execution
G
G
(Right after BRK execution)
RETI
B flag
1
B
1
set
judged by contents of B flag. There is no instruction to reset di-
rectly B flag.
cept interrupt request. When two or more interrupts are generated
simultaneously, the highest priority interrupt set by Interrupt
Mode Register is accepted.
which are controlled by Standby Mode Release Register
(SMRR0, SMRR1). Key Input is considered as Interrupt, there-
fore, KSCNE bit of IEHN should be set for correct interrupt ex-
0
H
H
TCALL0 ROUTINE
0
I
reset
RET
Z
Z
C
C
SEP. 2004 Ver 1.01

Related parts for HMS87C5216