English
Language : 

SH7011 Datasheet, PDF (120/292 Pages) Renesas Technology Corp – CMOS single-chip microprocessors
• Bit 0—Input Capture/Output Compare Flag A (TGFA): This status flag indicates the
occurrence of a TGRA register input capture or compare-match.
Bit 0: TGFA
0
1
Description
Clear condition: With TGFA = 1, a 0 write to TGFA following a read
(initial value)
Set conditions:
• When TGRA is functioning as an output compare register
(TCNT = TGRA)
• When TGRA is functioning as input capture (the TCNT value is sent
to TGRA by the input capture signal)
8.2.6 Timer Counters (TCNT)
The timer counters (TCNT) are 16-bit counters, with one for each channel, for a total of three.
The TCNT are initialized to H'0000 by a power-on reset. Accessing the TCNT counters in 8-bit
units is prohibited. Always access in 16-bit units.
Channel 0: TCNT0
Channel 1: TCNT1
Channel 2: TCNT2
Bit: 15
14
13
12
11
10
9
8
Initial value: 0
0
0
0
0
0
0
0
R/W: R/W R/W R/W R/W R/W R/W R/W R/W
Bit: 7
6
5
4
3
2
1
0
Initial value: 0
0
0
0
0
0
0
0
R/W: R/W R/W R/W R/W R/W R/W R/W R/W
111