Timer Counter (Tcnt); Timer General Register (Tgr) - Renesas H8SX/1520 Series Hardware Manual

32-bit cisc microcomputer
Hide thumbs Also See for H8SX/1520 Series:
Table of Contents

Advertisement

Section 9 16-Bit Timer Pulse Unit (TPU)
9.3.6

Timer Counter (TCNT)

TCNT is a 16-bit readable/writable counter. The TPU has six TCNT counters, one for each
channel.
TCNT is initialized to H'0000 by a reset or in hardware standby mode.
TCNT cannot be accessed in 8-bit units. TCNT must always be accessed in 16-bit units.
Bit
Bit Name
Initial Value
R/W
Bit
Bit Name
Initial Value
R/W
9.3.7

Timer General Register (TGR)

TGR is a 16-bit readable/writable register with a dual function as output compare and input
capture registers. The TPU has 16 TGR registers, four each for channels 0 and 3 and two each for
channels 1, 2, 4, and 5. TGRC and TGRD for channels 0 and 3 can also be designated for
operation as buffer registers. The TGR registers cannot be accessed in 8-bit units; they must
always be accessed in 16-bit units. TGR and buffer register combinations during buffer operations
are TGRA−TGRC and TGRB−TGRD.
Bit
Bit Name
Initial Value
R/W
Bit
Bit Name
Initial Value
R/W
Rev. 3.00 Mar. 14, 2006 Page 296 of 804
REJ09B0104-0300
Downloaded from
Elcodis.com
electronic components distributor
15
14
0
0
R/W
R/W
R/W
7
6
0
0
R/W
R/W
R/W
15
14
1
1
R/W
R/W
R/W
7
6
1
1
R/W
R/W
R/W
13
12
11
0
0
0
R/W
R/W
5
4
3
0
0
0
R/W
R/W
13
12
11
1
1
1
R/W
R/W
5
4
3
1
1
1
R/W
R/W
10
9
0
0
R/W
R/W
R/W
2
1
0
0
R/W
R/W
R/W
10
9
1
1
R/W
R/W
R/W
2
1
1
1
R/W
R/W
R/W
8
0
0
0
8
1
0
1

Advertisement

Table of Contents
loading

Table of Contents