Download Print this page

Renesas M16C/50 Series User Manual page 284

Advertisement

M16C/5L Group, M16C/56 Group
15.3.1.3
Count Source
Internal clocks are counted in timer mode, one-shot timer mode, PWM mode, and programmable
output mode. Refer to Figure 15.1 "Timer A and B Count Sources" for details. Table 15.5 lists the Timer
A 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 15.5
Timer A 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 TACS0 to TACS2
TCK1 to TCK0: Bits in the TAiMR register (i = 0 to 4)
Note:
1.
Set the TCDIV00 bit in the TCKDIVC0 register to select f1 or fOCO-F.
R01UH0127EJ0110 Rev.1.10
Sep 01, 2011
Bit Setting Value
TCS2 to
TCS3
TCS0
TCS6 to
TCS7
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
(1)
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
-
15. Timer A
Remarks
(1)
(1)
Page 247 of 803
(1)
(1)

Advertisement

loading