beautypg.com

I/o memory of clock generator – Epson S1C33210 User Manual

Page 301

background image

III PERIPHERAL BLOCK: LOW-SPEED (OSC1) OSCILLATION CIRCUIT

S1C33210 FUNCTION PART

EPSON

B-III-6-5

I/O Memory of Clock Generator

Table 6.3 lists the control bits of clock generator.

Table 6.3 Control Bits of Clock Generator

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 1

P15 function selection 1

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

CFEX5

CFEX4

CFEX3

CFEX2

CFEX1

CFEX0

D7-6

D5

D4

D3

D2

D1

D0

reserved

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

1

1

R/W

R/W

R/W

R/W

R/W

R/W

Undefined when read.

Always set to 0.

Always set to 0.

00402DF

(B)

Port function

extension

register

1

1

0 P05, etc.

1

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.