I/O Memory Of Clock Generator - Epson S1C33210 Technical Manual

Cmos 32-bit single chip microcomputer
Table of Contents

Advertisement

I/O Memory of Clock Generator

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

Advertisement

Table of Contents
loading

Table of Contents