English
Language : 

SH7014 Datasheet, PDF (254/754 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer
10. Multifunction Timer Pulse Unit (MTU)
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
(Cleared by DMAC transfer due to TGFA)
(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)
10.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 and when in standby mode. Accessing the
TCNT counters in 8-bit units is prohibited. Always access in 16-bit units.
Channel Abbreviation Function
0
TCNT0
Increment counter
1
TCNT1
Increment/decrement counter*
2
TCNT2
Increment/decrement counter*
Note: * Can only be used as an increment/decrement counter in phase counting mode, with
other channel overflow/underflow counting. It becomes an increment counter in all other
cases.
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
Rev.5.00 Sep. 27, 2007 Page 220 of 716
REJ09B0398-0500