525
13.2
Register Descriptions
13.2.1
Timer Counters 0 to 3 (TCNT0 to TCNT3)
15
0
R/W
14
0
R/W
13
0
R/W
12
0
R/W
11
0
R/W
10
0
R/W
9
0
R/W
8
0
R/W
7
0
R/W
6
0
R/W
5
0
R/W
4
0
R/W
3
0
R/W
2
0
R/W
1
0
R/W
0
0
R/W
TCNT0 (TCNT2)
TCNT1 (TCNT3)
Bit
Initial value
R/W
:
:
:
TCNT0 to TCNT3 are 8-bit readable/writable up-counters that increment on pulses generated from
an internal or external clock source. This clock source is selected by clock select bits CKS2 to
CKS0 of TCR. The CPU can read or write to TCNT0 to TCNT3 at all times.
TCNT0 and TCNT1 (TCNT2 and TCNT3) comprise a single 16-bit register, so they can be
accessed together by word transfer instruction.
TCNT0 and TCNT1 (TCNT2 and TCNT3) can be cleared by an external reset input or by a
compare match signal. Which signal is to be used for clearing is selected by clock clear bits
CCLR1 and CCLR0 of TCR.
When a timer counter overflows from H'FF to H'00, OVF in TCSR is set to 1.
TCNT0 and TCNT1 are each initialized to H'00 by a reset and in hardware standby mode.
13.2.2
Time Constant Registers A0 to A3 (TCORA0 to TCORA3)
15
1
R/W
14
1
R/W
13
1
R/W
12
1
R/W
11
1
R/W
10
1
R/W
9
1
R/W
8
1
R/W
7
1
R/W
6
1
R/W
5
1
R/W
4
1
R/W
3
1
R/W
2
1
R/W
1
1
R/W
0
1
R/W
TCORA0 (TCORA2)
TCORA1 (TCORA3)
Bit
Initial value
R/W
:
:
:
TCORA0 to TCORA3 are 8-bit readable/writable registers. TCORA0 and TCORA1 (TCORA2
and TCORA3) comprise a single 16-bit register so they can be accessed together by word transfer
instruction.
TCORA is continually compared with the value in TCNT. When a match is detected, the
corresponding CMFA flag of TCSR is set. Note, however, that comparison is disabled during the
T2 state of a TCOR write cycle.
Содержание H8S/2631
Страница 28: ...xviii Appendix G Package Dimensions 1154 ...
Страница 341: ...316 Transfer SAR or DAR DAR or SAR Block area First block Nth block Figure 9 8 Memory Mapping in Block Transfer Mode ...
Страница 918: ...905 ø DREQ0 DREQ1 tDRQS tDRQH Figure 25 19 DMAC DREQ Input Timing ...
Страница 955: ...943 A 2 Instruction Codes Table A 2 shows the instruction codes ...