Download Print this page

Renesas M16C/50 Series User Manual page 327

Advertisement

M16C/5L Group, M16C/56 Group
16.3.1.3
Count Source
Internal clocks are counted in timer mode, pulse period measurement mode, and pulse width
measurement mode. Refer to Figure 16.1 "Timer A and B Count Sources" for details. Table 16.4 lists
Timer B Count Sources.
f1 is any of the clocks listed below. Refer to 8. "Clock Generator" for details.
Main clock divided by 1 (no division)
PLL clock divided by 1 (no division)
fOCO-S divided by 1 (no division)
fOCO-F divided by 1 (no division)
Table 16.4
Timer B Count Sources
Count
Source
PCLK0
f1TIMAB
1
f2TIMAB
0
f8TIMAB
-
f32TIMAB
-
f64TIMAB
-
fOCO-F
-
fOCO-S
-
fC32
-
PCLK0: Bit in the PCLKR register
TCS7 to TCS0: Bits in registers TBCS0 toTBCS1
TCK1 to TCK0: Bits in the TBiMR register (i = 0 to 2)
Note:
1.
Select f1 or fOCO-F by setting the TCDIV00 bit in the TCKDIVC0 register.
R01UH0127EJ0110 Rev.1.10
Sep 01, 2011
Bit Setting Value
TCS3
TCS2 to TCS0
TCS7
TCS6 to TCS4
0
-
1
000b
0
-
1
000b
0
-
1
001b
0
-
1
010b
1
011b
1
100b
1
101b
0
-
1
110b
TCK1 to
TCK0
00b
f1 or fOCO-F
-
00b
f1 divided by 2 or fOCO-F divided by 2
-
01b
f1 divided by 8 or fOCO-F divided by 8
-
10b
f1 divided by 32 or fOCO-F divided by 32
-
-
f1 divided by 64 or fOCO-F divided by 64
-
fOCO-F
-
fOCO-S
11b
fC32
-
16. Timer B
Remarks
(1)
Page 290 of 803
(1)
(1)
(1)
(1)

Advertisement

loading