III PERIPHERAL BLOCK: PRESCALER

I/O Memory of Prescaler

Table 2.3 shows the control bits of the prescaler.

Table 2.3 Control Bits of Prescaler

Register name

Address

Bit

Name

Function

 

 

 

Setting

Init.

R/W

Remarks

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

8-bit timer 4/5

0040140

D7–2

reserved

 

 

 

 

 

0 when being read.

clock select

(B)

D1

P8TPCK5

8-bit timer 5 clock selection

1

θ/1

 

 

0

Divided clk.

0

R/W

θ: selected by

register

 

D0

P8TPCK4

8-bit timer 4 clock selection

1

θ/1

 

 

0

Divided clk.

0

R/W

Prescaler clock select

 

 

 

 

 

 

 

 

 

 

 

 

 

 

register (0x40181)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

8-bit timer 4/5

0040145

D7

P8TON5

8-bit timer 5 clock control

1

On

 

 

0

Off

0

R/W

 

clock control

(B)

D6

P8TS52

8-bit timer 5

1

 

1

1

 

 

θ/256

0

R/W

θ: selected by

register

 

D5

P8TS51

clock division ratio selection

1

 

1

0

 

 

θ/128

0

R/W

Prescaler clock select

 

 

D4

P8TS50

 

1

 

0

1

 

 

θ/64

0

R/W

register (0x40181)

 

 

 

 

 

1

 

0

0

 

 

θ/32

 

 

 

 

 

 

 

 

0

 

1

1

 

 

θ/16

 

 

8-bit timer 5 can

 

 

 

 

 

0

 

1

0

 

 

θ/8

 

 

generate the clock for

 

 

 

 

 

0

 

0

1

 

 

θ/4

 

 

the serial I/F Ch.3.

 

 

 

 

 

0

 

0

0

 

 

θ/2

 

 

 

 

 

D3

P8TON4

8-bit timer 4 clock control

1

On

 

 

0

Off

0

R/W

 

 

 

D2

P8TS42

8-bit timer 4

1

 

1

1

 

 

θ/4096

0

R/W

θ: selected by

 

 

D1

P8TS41

clock division ratio selection

1

 

1

0

 

 

θ/2048

0

R/W

Prescaler clock select

 

 

D0

P8TS40

 

1

 

0

1

 

 

θ/64

0

R/W

register (0x40181)

 

 

 

 

 

1

 

0

0

 

 

θ/32

 

 

 

 

 

 

 

 

0

 

1

1

 

 

θ/16

 

 

8-bit timer 4 can

 

 

 

 

 

0

 

1

0

 

 

θ/8

 

 

generate the clock for

 

 

 

 

 

0

 

0

1

 

 

θ/4

 

 

the serial I/F Ch.2.

 

 

 

 

 

0

 

0

0

 

 

θ/2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

8-bit timer

0040146

D7–4

reserved

 

 

 

 

 

0 when being read.

clock select

(B)

D3

P8TPCK3

8-bit timer 3 clock selection

1

θ/1

 

 

0

Divided clk.

0

R/W

θ: selected by

register

 

D2

P8TPCK2

8-bit timer 2 clock selection

1

θ/1

 

 

0

Divided clk.

0

R/W

Prescaler clock select

 

 

D1

P8TPCK1

8-bit timer 1 clock selection

1

θ/1

 

 

0

Divided clk.

0

R/W

register (0x40181)

 

 

D0

P8TPCK0

8-bit timer 0 clock selection

1

θ/1

 

 

0

Divided clk.

0

R/W

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

16-bit timer 0

0040147

D7–4

reserved

 

 

 

 

 

0 when being read.

clock control

(B)

D3

P16TON0

16-bit timer 0 clock control

1

On

 

 

0

Off

0

R/W

 

register

 

D2

P16TS02

16-bit timer 0

P16TS0[2:0]

 

Division ratio

0

R/W

θ: selected by

 

 

D1

P16TS01

clock division ratio selection

1

 

1

1

 

 

θ/4096

0

 

Prescaler clock select

 

 

D0

P16TS00

 

1

 

1

0

 

 

θ/1024

0

 

register (0x40181)

 

 

 

 

 

1

 

0

1

 

 

θ/256

 

 

 

 

 

 

 

 

1

 

0

0

 

 

θ/64

 

 

16-bit timer 0 can be

 

 

 

 

 

0

 

1

1

 

 

θ/16

 

 

used as a watchdog

 

 

 

 

 

0

 

1

0

 

 

θ/4

 

 

timer.

 

 

 

 

 

0

 

0

1

 

 

θ/2

 

 

 

 

 

 

 

 

0

 

0

0

 

 

θ/1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

16-bit timer 1

0040148

D7–4

reserved

 

 

 

 

 

0 when being read.

clock control

(B)

D3

P16TON1

16-bit timer 1 clock control

1

On

 

 

0

Off

0

R/W

 

register

 

D2

P16TS12

16-bit timer 1

P16TS1[2:0]

 

Division ratio

0

R/W

θ: selected by

 

 

D1

P16TS11

clock division ratio selection

1

 

1

1

 

 

θ/4096

0

 

Prescaler clock select

 

 

D0

P16TS10

 

1

 

1

0

 

 

θ/1024

0

 

register (0x40181)

 

 

 

 

 

1

 

0

1

 

 

θ/256

 

 

 

 

 

 

 

 

1

 

0

0

 

 

θ/64

 

 

 

 

 

 

 

 

0

 

1

1

 

 

θ/16

 

 

 

 

 

 

 

 

0

 

1

0

 

 

θ/4

 

 

 

 

 

 

 

 

0

 

0

1

 

 

θ/2

 

 

 

 

 

 

 

 

0

 

0

0

 

 

θ/1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

16-bit timer 2

0040149

D7–4

reserved

 

 

 

 

 

0 when being read.

clock control

(B)

D3

P16TON2

16-bit timer 2 clock control

1

On

 

 

0

Off

0

R/W

 

register

 

D2

P16TS22

16-bit timer 2

P16TS2[2:0]

 

Division ratio

0

R/W

θ: selected by

 

 

D1

P16TS21

clock division ratio selection

1

 

1

1

 

 

θ/4096

0

 

Prescaler clock select

 

 

D0

P16TS20

 

1

 

1

0

 

 

θ/1024

0

 

register (0x40181)

 

 

 

 

 

1

 

0

1

 

 

θ/256

 

 

 

 

 

 

 

 

1

 

0

0

 

 

θ/64

 

 

 

 

 

 

 

 

0

 

1

1

 

 

θ/16

 

 

 

 

 

 

 

 

0

 

1

0

 

 

θ/4

 

 

 

 

 

 

 

 

0

 

0

1

 

 

θ/2

 

 

 

 

 

 

 

 

0

 

0

0

 

 

θ/1

 

 

 

A-1

B-III

PSC

S1C33L03 FUNCTION PART

EPSON

B-III-2-3