1010
TCR0—Timer Control Register 0
H'FF10
TPU0
7
CCLR2
0
R/W
6
CCLR1
0
R/W
5
CCLR0
0
R/W
4
CKEG1
0
R/W
3
CKEG0
0
R/W
0
TPSC0
0
R/W
2
TPSC2
0
R/W
1
TPSC1
0
R/W
Bit
Initial value
Read/Write
Time Prescaler
0
Internal clock: counts on ø/1
Internal clock: counts on ø/4
Internal clock: counts on ø/16
Internal clock: counts on ø/64
External clock: counts on TCLKA pin input
External clock: counts on TCLKB pin input
External clock: counts on TCLKC pin input
External clock: counts on TCLKD pin input
0
1
0
1
0
1
1
0
1
0
1
0
1
Counter Clear
0
TCNT clearing disabled
TCNT cleared by TGRA compare match/input capture
TCNT cleared by TGRB compare match/input capture
TCNT cleared by counter clearing for another channel
performing synchronous clearing/synchronous operation
*
1
TCNT clearing disabled
TCNT cleared by TGRC compare match/input capture
*
2
TCNT cleared by TGRD compare match/input capture
*
2
TCNT cleared by counter clearing for another channel
performing synchronous clearing/synchronous operation
*
1
0
1
0
1
0
1
1
0
1
0
1
0
1
Notes:
*
1
*
2
Synchronous operation setting is performed by setting the
SYNC bit in TSYR to 1.
When TGRC or TGRD is used as a buffer register, TCNT is
not cleared because the buffer register setting has priority,
and compare match/input capture does not occur.
Clock Edge
0
1
Count at rising edge
Count at falling edge
Count at both edges
0
1
—
Note: Internal clock edge selection is valid when the input clock
is ø/4 or slower. This setting is ignored if the input clock is ø/1,
or when overflow/underflow of another channel is selected.
Содержание H8S/2645
Страница 4: ......
Страница 16: ......
Страница 58: ...26 ...
Страница 110: ...78 ...
Страница 120: ...88 ...
Страница 132: ...100 ...
Страница 160: ...128 ...
Страница 172: ...140 ...
Страница 235: ...203 Transfer SAR or DAR DAR or SAR Block area First block Nth block Figure 8 8 Memory Mapping in Block Transfer Mode ...
Страница 418: ...386 ...
Страница 444: ...412 ...
Страница 530: ...498 ...
Страница 562: ...530 ...
Страница 642: ...610 ...
Страница 662: ...630 ...
Страница 688: ...656 ...
Страница 756: ...724 ...
Страница 784: ...752 ...
Страница 812: ...780 ...
Страница 837: ...805 A 2 Instruction Codes Table A 2 shows the instruction codes ...
Страница 1152: ...1120 ...