CHAPTER 7 TIMER ARRAY UNIT
Page 152 of 920
Figure 7 - 10 Format of Timer clock select register m (TPSm) (1/2)
Note
When changing the clock selected for f
CLK
(by changing the system clock control register (CKC) value), stop
timer array unit (TTm = 000FH).
The timer array unit must also be stopped if the operating clock (f
MCK
) or the valid edge of the signal input
from the TImn pin is selected.
Caution 1. Be sure to clear bits 15, 14, 11, 10 to “0”.
Caution 2. If f
CLK
(undivided) is selected as the operation clock (CKmk) and TDRnm is set to 0000H (n = 0 or 1, m
= 0 to 3), interrupt requests output from timer array units cannot be used.
Remark 1.
f
CLK
: CPU/peripheral hardware clock frequency
Remark 2.
Waveform of the clock to be selected in the TPSm register which becomes high level for one period of f
CLK
from its rising edge (m = 1 to 15). For details, see
Count clock (f
TCLK
)
.
Address: F01B6H, F01B7H (TPS0), F01F6H, F01F7H (TPS1)
After reset: 0000H
Symbol
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
TPSm
0
0
PRSm
31
PRSm
30
0
0
PRSm
21
PRSm
20
PRSm
13
PRSm
12
PRSm
11
PRSm
10
PRSm
03
PRSm
02
PRSm
01
PRSm
00
PRS
mk3
PRS
mk2
PRS
mk1
PRS
mk0
Selection of operation clock (CKmk)
f
CLK
=
2 MHz
f
CLK
=
4 MHz
f
CLK
=
8 MHz
f
CLK
=
20 MHz
f
CLK
=
32 MHz
0
0
0
0
f
CLK
2 MHz
4 MHz
8 MHz
20 MHz
32 MHz
0
0
0
1
f
CLK
/2
1 MHz
2 MHz
4 MHz
10 MHz
16 MHz
0
0
1
0
f
CLK
/2
2
500 kHz
1 MHz
2 MHz
5 MHz
8 MHz
0
0
1
1
f
CLK
/2
3
250 kHz
500 kHz
1 MHz
2.5 MHz
4 MHz
0
1
0
0
f
CLK
/2
4
125 kHz
250 kHz
500 kHz
1.25 MHz
2 MHz
0
1
0
1
f
CLK
/2
5
62.5 kHz
125 kHz
250 kHz
625 kHz
1 MHz
0
1
1
0
f
CLK
/2
6
31.3 kHz
62.5 kHz
125 kHz
313 kHz
500 kHz
0
1
1
1
f
CLK
/2
7
15.6 kHz
31.3 kHz
62.5 kHz
156 kHz
250 kHz
1
0
0
0
f
CLK
/2
8
7.81 kHz
15.6 kHz
31.3 kHz
78.1 kHz
125 kHz
1
0
0
1
f
CLK
/2
9
3.91 kHz
7.81 kHz
15.6 kHz
39.1 kHz
62.5 kHz
1
0
1
0
f
CLK
/2
10
1.95 kHz
3.91 kHz
7.81 kHz
19.5 kHz
31.25 kHz
1
0
1
1
f
CLK
/2
11
977 Hz
1.95 kHz
3.91 kHz
9.77 kHz
15.6 kHz
1
1
0
0
f
CLK
/2
12
488 Hz
977 Hz
1.95 kHz
4.88 kHz
7.81 kHz
1
1
0
1
f
CLK
/2
13
244 Hz
488 Hz
977 Hz
2.44 kHz
3.91 kHz
1
1
1
0
f
CLK
/2
14
122 Hz
244 Hz
488 Hz
1.22 kHz
1.95 kHz
1
1
1
1
f
CLK
/2
15
61.0 Hz
122 Hz
244 Hz
610 Hz
977 Hz
Summary of Contents for RL78/G1H
Page 941: ...R01UH0575EJ0120 RL78 G1H...