
III PERIPHERAL BLOCK: PRESCALER
S1C33T01 FUNCTION PART
EPSON
B-III-2-3
Source Clock Output to 8-Bit Programmable Timer
In addition to the divided clock, the prescaler can output the source clock directly to the 8-bit programmable timer.
This function can be selected for each 8-bit timer using P8TPCKx bit.
8-bit timer 0: P8TPCK0 (D0) / 8-bit timer clock select register (0x40146)
8-bit timer 1: P8TPCK1 (D1) / 8-bit timer clock select register (0x40146)
8-bit timer 2: P8TPCK2 (D2) / 8-bit timer clock select register (0x40146)
8-bit timer 3: P8TPCK3 (D3) / 8-bit timer clock select register (0x40146)
8-bit timer 4: P8TPCK4 (D0) / 8-bit timer clock select register (0x40140)
8-bit timer 5: P8TPCK5 (D1) / 8-bit timer clock select register (0x40140)
When P8TPCKx is set to "1", the prescaler input clock (
θ/1) is selected for the 8-bit timer x operating clock.
The clock output is controlled by the P8TONx bit even if P8TPCKx is set to "1".
When P8TPCKx is "0", the divided clock that is selected by P8TSx[2:0] will be output to the 8-bit timer x.
At initial reset, P8TPCKx is set to "0" and P8TSx[2:0] becomes effective.
I/O Memory of Prescaler
Table 2.3 shows the control bits of the prescaler.
Table 2.3
Control Bits of Prescaler
Name
Address
Register name
Bit
Function
Setting
Init.
R/W
Remarks
–
P8TPCK5
P8TPCK4
D7–2
D1
D0
reserved
8-bit timer 5 clock selection
8-bit timer 4 clock selection
–
0
–
R/W
0 when being read.
θ: selected by Prescaler clock
select register (0x40181)
0040140
(B)
1
θ/1
0 Divided clk.
1
θ/1
0 Divided clk.
8-bit timer
clock select
register
–
–
P16TON6
P16TS62
P16TS61
P16TS60
D7–4
D3
D2
D1
D0
reserved
16-bit timer 6 clock control
16-bit timer 6
clock division ratio selection
–
0
–
R/W
0 when being read.
θ: selected by
Prescaler clock select
register (0x40181)
0040141
(B)
1 On
0 Off
1
0
1
0
1
0
1
0
1
0
1
0
1
0
P16TS6[2:0]
Division ratio
θ/4096
θ/1024
θ/256
θ/64
θ/16
θ/4
θ/2
θ/1
16-bit timer 6
clock control
register
–
–
P16TON7
P16TS72
P16TS71
P16TS70
D7–4
D3
D2
D1
D0
reserved
16-bit timer 7 clock control
16-bit timer 7
clock division ratio selection
–
0
–
R/W
0 when being read.
θ: selected by
Prescaler clock select
register (0x40181)
0040142
(B)
1 On
0 Off
1
0
1
0
1
0
1
0
1
0
1
0
1
0
P16TS7[2:0]
Division ratio
θ/4096
θ/1024
θ/256
θ/64
θ/16
θ/4
θ/2
θ/1
16-bit timer 7
clock control
register
–
–
P16TON8
P16TS82
P16TS81
P16TS80
D7–4
D3
D2
D1
D0
reserved
16-bit timer 8 clock control
16-bit timer 8
clock division ratio selection
–
0
–
R/W
0 when being read.
θ: selected by
Prescaler clock select
register (0x40181)
0040143
(B)
1 On
0 Off
1
0
1
0
1
0
1
0
1
0
1
0
1
0
P16TS8[2:0]
Division ratio
θ/4096
θ/1024
θ/256
θ/64
θ/16
θ/4
θ/2
θ/1
16-bit timer 8
clock control
register