Epson S1C6S3N2 Technical Manual page 180

Cmos 4-bit single chip microcomputer
Table of Contents

Advertisement

CHAPTER 5: PERIPHERAL CIRCUITS (SVD Circuit and Heavy Load Protection Function)
(1) Control of heavy load protection function using flag (S1C6S3L2/6S3B2)
Specifications
Setting heavy load protection mode
XHLOF
EQU
XHLOFDL
EQU
XNOTHL
EQU
YFHL
EQU
;
;
HLONBZ:
LD
OR
LD
AND
LD
OR
RET
II-34
The normal mode changes to the heavy load protection
mode in the following case:
When the software changes the mode to the heavy load
protection mode (HLMOD = "1")
The heavy load protection mode switches the constant
voltage circuit of the LCD system to the high-stability
mode from the low current consumption mode. Conse-
quently, more current is consumed in the heavy load
protection mode than in the normal mode. Unless it is
necessary, be careful not to set the heavy load protection
mode with the software.
When heavy load protection mode is set, this will be routine
"HLONBZ" which switches BZ ON, routine "BZOF" which
switches BZ OFF, and 2 Hz interrupt routine "TI2" which
controls 1-second waiting release.
This routine employs the heavy load protection mode release
flag HLOFF, which recognizes termination of heavy load
drive, and the heavy load protection mode release delay flag
HLOFDLF, which takes the timing of a 1-second wait.
1000B
;
Heavy load protection mode release flag
0100B
;
Heavy load protection mode release delay flag
0011B
;
H
;
Address of heavy load protection function related flag set
X,76H
;
Set heavy load protection mode
MX,1000B
;
X,YFHL
;
Reset flags related to heavy load protection
MX,XNOTHL
;
X,7CH
;
Switch BZ ON
MX,0001B
;
;
Return to parent routine
This routine assumes that the addresses of the flag set
related to heavy load protection functions together with the
0.5-sec flag are allocated suitably in RAM as the addresses
of the timing flag set.
EPSON
S1C6S3N2 TECHNICAL SOFTWARE

Advertisement

Table of Contents
loading

Table of Contents