II-26
EPSON
S1C6S3N2 TECHNICAL SOFTWARE
CHAPTER 5: PERIPHERAL CIRCUITS (OSC3)
To lessen current consumption, keep OSC3 oscillation OFF except
when the CPU must be run at high speed. Also, with S1C6S3N2/
6S3L2/6S3B2, keep OSCC fixed to "0".
This subroutine first sets OSC3 to ON, and then, after about
5 ms, switches the CPU clock to OSC3.
(1) Switching from OSC1 to OSC3
OS3:
LD
X,0FEH
;
OR
MX,0010B
;
LD
A,0EH
;
OS3DLLP:
ADD
A,0FH
;
JP
NZ,OS3DLLP
;
;
OR
MX,0100B
;
RET
;
Set OSC3 to ON
Delay of 5.28 ms: preparation
Loop for delay
Switche the CPU clock to OSC3
Return to parent routine
A 5.28 ms delay is specified before switching to OSC3, to
allow time for the oscillation circuit to stabilize.
Example of using
OSC3
Note
Specifications
Program
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: ......