II-32
EPSON
S1C6S3N2 TECHNICAL SOFTWARE
CHAPTER 5: PERIPHERAL CIRCUITS (SVD Circuit and Heavy Load Protection Function)
(3) For S1C6S3L2/6S3B2 using HLMOD
S1C6S3L2/6S3B2 uses HLMOD to detect supply voltage.
The other conditions are the same as for (1) and (2). How-
ever, the CPU of S1C6S3L2/6S3B2 does not use OSC3 for
the clock.
S1C6S3L2/6S3B2 has a heavy load protection function, so
do not use HLMOD to detect supply voltage in the heavy
load protection mode.
(See the following sections for the heavy load protection
function.)
Specifications
XTISF
EQU
0001B
;
YFTM
EQU
◆ ◆
◆ ◆
H
;
;
;
TI2:
LD
X,YFTM
;
FAN
MX,XTISF
;
JP
NZ,TI21
;
;
OR
MX,XTISF
;
LD
X,76H
;
FAN
MX,1000B
;
JP
NZ,TI2DSB
;
;
OR
MX,1000B
;
AND
MX,0011B
;
TI2DSB:FAN
MX,0100B
;
JP
Z,TI2RT
;
CALL
DSBLD
;
;
TI2RT: RET
;
TI21:
AND
MX,XTISF XOR 0FH ;
CALL
CK
;
;
RET
;
0.5-sec flag (TISF)
Address for timing flag set
TISF = "0" or "1"?
TISF = "0": Set the TIS flag
If HLMOD is OFF
then
detect: HLMOD ON
HLMOD OFF
If the result is "1" (low voltage)
then
execute display routine "DSBLD"
Return to parent routine
TISF = "1": Reset the TIS flag
Execute the basic timer "CK"
Return to parent routine
Program
When the HLMOD is turned OFF, BLS is fixed to "0".
Note
Summary of Contents for S1C6S3N2
Page 4: ......
Page 6: ......
Page 7: ...Hardware Hardware S1C6S3N2 I Technical Hardware ...
Page 8: ......
Page 141: ...Software Software S1C6S3N2 II Technical Software ...
Page 142: ......
Page 146: ......