SIC63616-(Rev. 1.0) NO. P113
3240-0412
Table 4.9.10.1(g) Control bits of programmable timer
D3
D2
D1
D0
Name Init
∗
1
1
0
Address
Comment
Register
Unused
Unused
Interrupt factor flag (Programmable timer 6 underflow)
Interrupt factor flag (Programmable timer 6 compare match)
Unused
Unused
Interrupt factor flag (Programmable timer 7 underflow)
Interrupt factor flag (Programmable timer 7 compare match)
FFF8H
0
0
IPT6
ICTC6
R/W
0
∗
3
0
∗
3
IPT6
ICTC6
–
∗
2
–
∗
2
0
0
(R)
Yes
(W)
Reset
(R)
No
(W)
Invalid
FFF9H
0
0
IPT7
ICTC7
R/W
0
∗
3
0
∗
3
IPT7
ICTC7
–
∗
2
–
∗
2
0
0
(R)
Yes
(W)
Reset
(R)
No
(W)
Invalid
R
R
*1 Initial value at initial reset
*3 Constantly "0" when being read
*2 Not set in the circuit
PTPS00-PTPS03: Timer 0 count clock frequency select register (FF18H)
PTPS10-PTPS13: Timer 1 count clock frequency select register (FF19H)
PTPS20-PTPS23: Timer 2 count clock frequency select register (FF1AH)
PTPS30-PTPS33: Timer 3 count clock frequency select register (FF1BH)
PTPS40-PTPS43: Timer 4 count clock frequency select register (FF1CH)
PTPS50-PTPS53: Timer 5 count clock frequency select register (FF1DH)
PTPS60-PTPS63: Timer 6 count clock frequency select register (FF1EH)
PTPS70-PTPS73: Timer 7 count clock frequency select register (FF1FH)
Selects the count clock frequency for each timer.
Table 4.9.10.2 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
The clock manager generates the down-count clock for each timer by dividing the OSC1 or OSC3 clock.
Table 4.9.10.2 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 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.
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 16-bit × 1 channel configuration.
At initial reset, these registers are set to "0".