Epson S1C33L03 User Manual

Page of 631
III PERIPHERAL BLOCK: LOW-SPEED (OSC1) OSCILLATION CIRCUIT
S1C33L03 FUNCTION PART
EPSON
B-III-6-5
A-1
B-III
OSC1
I/O Memory of Low-Speed (OSC1) Oscillation Circuit
Table 6.3 lists the control bits of the low-speed (OSC1) oscillation circuit.
Table 6.3  Control Bits of Low-Speed (OSC1) Oscillation Circuit
Name
Address
Register name
Bit
Function
Setting
Init.
R/W
Remarks
CLKDT1
CLKDT0
PSCON
CLKCHG
SOSC3
SOSC1
D7
D6
D5
D4–3
D2
D1
D0
System clock division ratio 
selection
Prescaler On/Off control
reserved
CPU operating clock switch
High-speed (OSC3) oscillation On/Off
Low-speed (OSC1) oscillation On/Off
1 On
0 Off
1 OSC3
0 OSC1
1 On
0 Off
1 On
0 Off
0
0
1
0
1
1
1
R/W
R/W
R/W
R/W
R/W
Writing 1 not allowed.
0040180
(B)
1
1
0
0
1
0
1
0
CLKDT[1:0]
Division ratio
1/8
1/4
1/2
1/1
Power control 
register
HLT2OP
8T1ON
PF1ON
D7–4
D3
D2
D1
D0
HALT clock option
OSC3-stabilize waiting function
reserved
OSC1 external output control
0
1
0
0
R/W
R/W
R/W
0 when being read.
Do not write 1.
0040190
(B)
1 On
0 Off
1 Off
0 On
1 On
0 Off
Clock option 
register
Writing 10010110 (0x96) 
removes the write protection of 
the power control register 
(0x40180) and the clock option 
register (0x40190).
Writing another value set the 
write protection.
CLGP7
CLGP6
CLGP5
CLGP4
CLGP3
CLGP2
CLGP1
CLGP0
D7
D6
D5
D4
D3
D2
D1
D0
Power control register protect flag
0
0
0
0
0
0
0
0
R/W
004019E
(B)
Power control 
protect register
CFP16
CFP15
CFP14
CFP13
CFP12
CFP11
CFP10
D7
D6
D5
D4
D3
D2
D1
D0
reserved
P16 function selection
P15 function selection
P14 function selection
P13 function selection
P12 function selection
P11 function selection
P10 function selection
0
0
0
0
0
0
0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
0 when being read.
Extended functions
(0x402DF)
00402D4
(B)
1 EXCL5
#DMAEND1
0 P16
1 EXCL4
#DMAEND0
0 P15
1 EXCL3
T8UF3
0 P13
1 EXCL2
T8UF2
0 P12
1 EXCL1
T8UF1
0 P11
1 EXCL0
T8UF0
0 P10
P1 function 
select register
1 FOSC1
0 P14
CFEX7
CFEX6
CFEX5
CFEX4
CFEX3
CFEX2
CFEX1
CFEX0
D7
D6
D5
D4
D3
D2
D1
D0
P07 port extended function
P06 port extended function
P05 port extended function
P04 port extended function
P31 port extended function
P21 port extended function
P10, P11, P13 port extended 
function
P12, P14 port extended function
0
0
0
0
0
0
1
1
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
00402DF
(B)
Port function 
extension 
register
1 #DMAEND3 0 P07, etc.
1 #DMAACK3 0 P06, etc.
1 #DMAEND2 0 P05, etc.
1 #DMAACK2 0 P04, etc.
1 #GARD
0 P31, etc.
1 #GAAS
0 P21, etc.
1 DST0
DST1
DPC0
0 P10, etc.
P11, etc.
P13, etc.
1 DST2
DCLK
0 P12, etc.
P14, etc.