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

I/O Memory of Clock Generator

Table 6.3 lists the control bits of clock generator.

Table 6.3 Control Bits of Clock Generator

Register name

Address

Bit

Name

Function

 

 

 

 

Setting

Init.

R/W

Remarks

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Power control

0040180

D7

CLKDT1

System clock division ratio

 

CLKDT[1:0]

 

Division ratio

0

R/W

 

register

(B)

D6

CLKDT0

selection

 

1

 

1

 

 

1/8

0

 

 

 

 

 

 

 

 

1

 

0

 

 

1/4

 

 

 

 

 

 

 

 

 

0

 

1

 

 

1/2

 

 

 

 

 

 

 

 

 

0

 

0

 

 

1/1

 

 

 

 

 

D5

PSCON

Prescaler On/Off control

1

 

On

 

 

0

Off

1

R/W

 

 

 

D4–3

reserved

 

 

 

 

 

 

0

Writing 1 not allowed.

 

 

D2

CLKCHG

CPU operating clock switch

1

 

OSC3

 

0

OSC1

1

R/W

 

 

 

D1

SOSC3

High-speed (OSC3) oscillation On/Off

1

 

On

 

 

0

Off

1

R/W

 

 

 

D0

SOSC1

Low-speed (OSC1) oscillation On/Off

1

 

On

 

 

0

Off

1

R/W

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Clock option

0040190

D7–4

 

 

 

 

 

 

0 when being read.

register

(B)

D3

HLT2OP

HALT clock option

 

 

On

 

 

0

Off

0

R/W

 

 

 

D2

8T1ON

OSC3-stabilize waiting function

 

 

Off

 

 

0

On

1

R/W

 

 

 

D1

reserved

 

 

 

 

 

 

0

Do not write 1.

 

 

D0

PF1ON

OSC1 external output control

 

 

On

 

 

0

Off

0

R/W

 

 

 

 

 

 

 

 

 

 

 

 

 

Power control

004019E

D7

CLGP7

Power control register protect flag

Writing 10010110 (0x96)

0

R/W

 

protect register

(B)

D6

CLGP6

 

 

removes the write protection of

0

 

 

 

 

D5

CLGP5

 

 

the power control register

0

 

 

 

 

D4

CLGP4

 

 

(0x40180) and the clock option

0

 

 

 

 

D3

CLGP3

 

 

register (0x40190).

 

0

 

 

 

 

D2

CLGP2

 

 

Writing another value set the

0

 

 

 

 

D1

CLGP1

 

 

write protection.

 

0

 

 

 

 

D0

CLGP0

 

 

 

 

 

 

 

 

 

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

P1 function

00402D4

D7

reserved

 

 

 

 

 

 

0 when being read.

select register

(B)

D6

CFP16

P16 function selection 1

1

 

EXCL5

 

0

P16

0

R/W

 

 

 

 

 

 

 

 

#DMAEND1

 

 

 

 

 

 

 

D5

CFP15

P15 function selection 1

1

 

EXCL4

 

0

P15

0

R/W

 

 

 

 

 

 

 

 

#DMAEND0

 

 

 

 

 

 

 

D4

CFP14

P14 function selection

1

 

FOSC1

 

0

P14

0

R/W

Extended functions

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(0x402DF)

 

 

D3

CFP13

P13 function selection

1

 

EXCL3

 

0

P13

0

R/W

 

 

 

 

 

 

 

 

T8UF3

 

 

 

 

 

 

 

 

D2

CFP12

P12 function selection

1

 

EXCL2

 

0

P12

0

R/W

 

 

 

 

 

 

 

 

T8UF2

 

 

 

 

 

 

 

 

D1

CFP11

P11 function selection

1

 

EXCL1

 

0

P11

0

R/W

 

 

 

 

 

 

 

 

T8UF1

 

 

 

 

 

 

 

 

D0

CFP10

P10 function selection

1

 

EXCL0

 

0

P10

0

R/W

 

 

 

 

 

 

 

 

T8UF0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Port function

00402DF

D7-6

reserved

1

 

 

 

 

 

Undefined when read.

extension

(B)

D5

CFEX5

P05 port extended function

1

 

 

 

 

0

P05, etc.

0

R/W

Always set to 0.

register

 

D4

CFEX4

P04 port extended function

1

 

 

 

 

0

P04, etc.

0

R/W

Always set to 0.

 

 

D3

CFEX3

P31 port extended function

1

 

#GARD

 

0

P31, etc.

0

R/W

 

 

 

D2

CFEX2

P21 port extended function

1

 

#GAAS

 

0

P21, etc.

0

R/W

 

 

 

D1

CFEX1

P10, P11, P13 port extended

1

 

DST0

 

0

P10, etc.

1

R/W

 

 

 

 

 

function

 

 

DST1

 

 

P11, etc.

 

 

 

 

 

 

 

 

 

 

DPC0

 

 

P13, etc.

 

 

 

 

 

D0

CFEX0

P12, P14 port extended function

1

 

DST2

 

0

P12, etc.

1

R/W

 

 

 

 

 

 

 

 

DCLK

 

 

P14, etc.

 

 

 

S1C33210 FUNCTION PART

EPSON

B-III-6-5