English
Language : 

SH7014 Datasheet, PDF (670/754 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer
Appendix A On-Chip Supporting Module Registers
MTU
Timer Control Register 2 (TCR2)
H'FFFF82A0
8/16/32
Item
7
Bit name
―
Initial value
0
R/W
R
6
CCLR1
0
R/W
5
CCLR0
0
R/W
Bit
4
3
CKEG1 CKEG0
0
0
R/W
R/W
2
TPSC2
0
R/W
1
TPSC1
0
R/W
0
TPSC0
0
R/W
Bit
Name
Value
Description
7 to 5 Counter Clear 2 to 0
0 0 0 TCNT clear disabled
(initial value)
(Reserved*2, CCLR1, CCLR0)
1 TCNT is cleared by TGRA compare-match or input
capture
1 0 TCNT is cleared by TGRB compare-match or input
capture
1 Synchronizing clear: TCNT is cleared in
synchronization with clear of other channel counters
operating in sync*1
4, 3 Clock Edge 1, 0
(CKEG1 and CKEG0)*5
0
0 Count on rising edges
1 Count on falling edges
(initial value)
1
X*3 Count on both rising and falling edges
2 to 0*4 Timer Prescaler 2 to 0
(TPSC2 to TPSC0)
0 0 0 Internal clock: count with φ/1
1 Internal clock: count with φ/4
(initial value)
1 0 Internal clock: count with φ/16
1 Internal clock: count with φ/64
1 0 0 External clock: count with the TCLKA pin input
1 External clock: count with the TCLKB pin input
1 0 External clock: count with the TCLKC pin input
1 Internal clock: count with φ/1024
Notes: 1. Setting the SYNC bit of the TSYR to 1 sets the synchronization.
2. The bit 7 of channels 2 is reserved. It always reads 0, and cannot be modified.
3. X: 0 or 1, don't care.
4. These settings are ineffective when channel 2 is in phase counting mode.
5. Internal clock edge selection is effective when the input clock is φ/4 or slower. These settings are
ignored when φ/1 is selected for the input clock.
Rev.5.00 Sep. 27, 2007 Page 636 of 716
REJ09B0398-0500