SIC63616-(Rev. 1.0) NO. P100
3240-0412
4.9.2 Controlling clock manager
The clock manager generates the down-count clock for each timer by dividing the OSC1 or OSC3 clock.
Table 4.9.2.1 lists the 15 count clocks that can be generated by the clock manager, and the clock to be used
for each timer can be selected using the count clock frequency select register PTPSx0–PTPSx3. At initial
reset, the PTPSx register is set to "0H" and the clock supply from the clock manager to the programmable
timer is disabled. Before the timer can be run, select a clock to enable the clock supply.
Table 4.9.2.1 Selecting count clock frequency
PTPSx3
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
PTPSx2
1
1
1
1
0
0
0
0
1
1
1
1
0
0
0
0
PTPSx1
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
PTPSx0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
Timer clock
f
OSC3
f
OSC3
/ 2
f
OSC3
/ 4
f
OSC3
/ 8
f
OSC3
/ 16
f
OSC3
/ 32
f
OSC3
/ 64
f
OSC3
/ 256
f
OSC1
(32 kHz)
f
OSC1
/ 2
(16 kHz)
f
OSC1
/ 4
(8 kHz)
f
OSC1
/ 16 (2 kHz)
f
OSC1
/ 32 (1 kHz)
f
OSC1
/ 64 (512 Hz)
f
OSC1
/ 256 (128 Hz)
OFF
f
OSC1
: OSC1 oscillation frequency. ( ) indicates the frequency when f
OSC1
= 32 kHz.
f
OSC3
: OSC3 oscillation frequency
Stop the clock supply to the timers shown below by setting PTPSx to "0H" to reduce current consumption.
• Unused timer
• Timer used as an event counter that inputs an external clock
• Upper 8-bit timer (Timer 1/3/5/7) when the timer unit is used as a 16-bit × 1 channel configuration.