Renesas RL78 Series User Manual page 193

16-bit single-chip microcontrollers
Hide thumbs Also See for RL78 Series:
Table of Contents

Advertisement

RL78/G1D
Address: F01B6H, F01B7H (TPS0)
Symbol
15
14
TPSm
0
0
PRS
PRS
m21
m20
0
0
0
1
1
0
1
1
PRS
PRS
m31
m30
0
0
0
1
1
0
1
1
Note
When changing the clock selected for f
stop timer array unit (TTm = 00FFH).
The timer array unit must also be stopped if the operating clock (f
from the TImn pin is selected.
Caution Be sure to clear bits 15, 14, 11, 10 to "0".
By using channels 1 and 3 in the 8-bit timer mode and specifying CKm2 or CKm3 as the operation clock, the
interval times shown in Table 7-4 can be achieved by using the interval timer function.
Table 7-4. Interval Times Available for Operation Clock CKSm2 or CKSm3
Clock
CKm2
f
/2
CLK
2
f
/2
CLK
4
f
/2
CLK
6
f
/2
CLK
8
CKm3
f
/2
CLK
10
f
/2
CLK
12
f
/2
CLK
14
f
/2
CLK
Note The margin is within 5 %.
Remarks 1. f
: CPU/peripheral hardware clock frequency
CLK
2. For details of a signal of f
R01UH0515EJ0120 Rev.1.20
Dec 16, 2016
Figure 7-10. Format of Timer Clock Select register m (TPSm) (2/2)
After reset: 0000H
13
12
11
10
PRS
PRS
0
0
m31
m30
f
/2
CLK
2
f
/2
CLK
4
f
/2
CLK
6
f
/2
CLK
8
f
/2
CLK
10
f
/2
CLK
12
f
/2
CLK
14
f
/2
CLK
10 µs
j
/2
selected with the TPSm register, see 7.5.1 Count clock (f
CLK
R/W
9
8
7
6
PRS
PRS
PRS
PRS
m21
m20
m13
m12
Selection of operation clock (CKm2)
f
= 2 MHz
f
= 5 MHz f
CLK
CLK
1 MHz
2.5 MHz
500 kHz
1.25 MHz
125 kHz
313 kHz
31.3 kHZ
78.1 kHz
Selection of operation clock (CKm3)
f
= 2 MHz
f
= 5 MHz f
CLK
CLK
7.81 kHz
19.5 kHz
1.95 kHz
4.88 kHz
488 Hz
1.22 kHz
122 HZ
305 Hz
(by changing the system clock control register (CKC) value),
CLK
Note
Interval time
(f
100 µs
CHAPTER 7 TIMER ARRAY UNIT
5
4
3
2
PRS
PRS
PRS
PRS
m11
m10
m03
m02
Note
= 10 MHz f
= 20 MHz f
CLK
CLK
5 MHz
10 MHz
2.5 MHz
5 MHz
625 MHz
1.25 MHz
156 kHz
313 kHz
Note
= 10 MHz f
= 20 MHz f
CLK
CLK
39.1 kHz
78.1 kHz
9.77 kHz
19.5 kHz
2.44 kHz
4.88 kHz
610 Hz
1.22 kHz
) or the valid edge of the signal input
MCK
= 32 MHz)
CLK
1 ms
TCLK
1
0
PRS
PRS
m01
m00
= 32 MHz
CLK
16 MHz
8 MHz
2 MHz
500 kHz
= 32 MHz
CLK
125 kHz
31.3 kHz
7.81 kHz
1.95 kHz
10 ms
).
172

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rl78/g1dR5f11aggR5f11aghR5f11agj

Table of Contents