Rev. 2.00, 09/03, page 334 of 690
14.3.1
Timer Control Registers (TCR)
TCR are 16-bit registers that control the TCNT channels.
TCR register settings should be made only when TCNT operation is stopped.
Bit
Bit Name
Initial
Value
R/W
Description
15 to 8
0
R
Reserved
These bits are always read as 0 and cannot be modified.
7
6
5
CCLR2
CCLR1
CCLR0
0
0
0
R/W
R/W
R/W
Counter Clear
Select the TCNT clearing source.
000: TCNT clearing disabled
001: TCNT cleared by TGRA compare match
010: TCNT cleared by TGRB compare match
011: Setting prohibited
100: TCNT clearing disabled
101: TCNT cleared by TGRC compare match
110: TCNT cleared by TGRD compare match
111: Setting prohibited
4
3
CKEG1
CKEG0
0
0
R/W
R/W
Clock Edge
Select the input clock edge. When the internal clock is
counted using both edges, the input clock period is halved
(e.g. P
φ
/4 both edges = P
φ
/2 rising edge).
00: Count at rising edge
01: Count at falling edge
1X: Count at both edges
*
[Legend] X: Don’t care
Note:
*
Internal-clock edge selection is valid when the input
clock is P
φ
/4 or slower. If the input clock is P
φ
/1, this
operation is not performed.
2
1
0
TPSC2
TPSC1
TPSC0
0
0
0
R/W
R/W
R/W
Timer Prescaler
Select the TCNT count clock. The clock source can be
selected independently for each channel. Table 14.3 shows
the clock sources that can be set for each channel. For more
information on count clock selection, see table 14.4.
Summary of Contents for SH7705
Page 2: ......
Page 70: ...Rev 2 00 09 03 page 24 of 690 ...
Page 194: ...Rev 2 00 09 03 page 148 of 690 ...
Page 284: ...Rev 2 00 09 03 page 238 of 690 ...
Page 338: ...Rev 2 00 09 03 page 292 of 690 ...
Page 354: ...Rev 2 00 09 03 page 308 of 690 ...
Page 374: ...Rev 2 00 09 03 page 328 of 690 ...
Page 420: ...Rev 2 00 09 03 page 374 of 690 ...
Page 476: ...Rev 2 00 09 03 page 430 of 690 ...
Page 482: ...Rev 2 00 09 03 page 436 of 690 ...
Page 552: ...Rev 2 00 09 03 page 506 of 690 ...
Page 630: ...Rev 2 00 09 03 page 584 of 690 ...
Page 739: ...SH7705 Group Hardware Manual REJ09B0082 0200O ...