506
TCR4—Timer Control Register 4
H'FE90
TPU4
Bit
Initial value
Read/Write
7
—
0
—
6
CCLR1
0
R/W
5
CCLR0
0
R/W
4
CKEG1
0
R/W
3
CKEG0
0
R/W
2
TPSC2
0
R/W
1
TPSC1
0
R/W
0
TPSC0
0
R/W
0
1
0
1
0
1
Internal clock: count on ø/1
Internal clock: count on ø/4
Internal clock: count on ø/16
Internal clock: count on ø/64
External clock: count on TCLKA pin input
External clock: count on TCLKC pin input
Internal clock: count on ø/1024
Count on TCNT5 overflow/underflow
Timer Prescaler
0
1
0
1
0
1
0
1
0
1
0
1
—
Count at rising edge
Count at falling edge
Count at both edges
Clock Edge
0
TCNT clearing disabled
TCNT cleared by TGRA compare match/input capture
TCNT cleared by TGRB compare match/input capture
Counter Clear
0
1
1
0
1 TCNT cleared by counter clearing for another channel
performing synchronous clearing/synchronous operation
*
Note: This setting is invalid when channel 4 is in phase
counting mode.
Note: This setting is invalid when channel 4 is in phase
counting mode.
Note:
*
Synchronous operation is selected by setting the SYNC
bit in TSYR to 1.
Summary of Contents for H8S/2670
Page 5: ......
Page 9: ......
Page 199: ...182 ...
Page 361: ...344 ...
Page 393: ...376 ...
Page 647: ...630 ...