1023
TCR2—Timer Control Register 2
H'FF30
TPU2
Bit
Initial value
Read/Write
Clock Edge
0
1
Count at rising edge
Count at falling edge
Count at both edges
0
1
—
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
Internal clock: counts on ø/1024
0
1
0
1
0
1
1
0
1
0
1
0
1
Counter Clear
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
*
0
1
0
1
0
1
Note:
*
Synchronous operation setting is performed by setting the
SYNC bit in TSYR to 1.
Note: This setting is ignored when channel 2 is in phase
counting mode.
7
—
0
—
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
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.
Note:
Bit 7 is reserved in channel 2.
It is always read as 0 and cannot be modified.
Содержание 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 ...