English
Language : 

HD6417750RF240V Datasheet, PDF (286/606 Pages) Renesas Technology Corp – Renesas 16-Bit Single-Chip Microcomputer H8S Family/H8S/2600 Series
Section 11 Motor Management Timer (MMT)
11.3.3 Timer Status Register (TSR)
The timer status register holds status flags.
Bit Bit Name Initial Value R/W Description
7
TCFG
1
R
Count Direction Flag
Status flag that indicates the count direction of the
TCNT counter.
0: TCNT counts down
1: TCNT counts up
6 to 2 —
All 0
1
TGFN
0
—
Reserved
These bits are always read as 0 and should only be
written with 0.
R/(W)* Output Compare Flag N
Status flag that indicates a compare match
between TCNT and 2Td (Td: TDDR value).
[Setting condition]
• When TCNT = 2Td
[Clearing condition]
0
TGFM
0
• When 0 is written to TGFN after reading TGFN
=1
R/(W)* Output Compare Flag M
Status flag that indicates a compare match
between TCNT and the TPDR register.
[Setting condition]
• When TCNT = TPDR
[Clearing condition]
• When 0 is written to TGFM after reading TGFM
=1
Note: * Can only be written with 0 for flag clearing.
11.3.4 Timer Counter (TCNT)
The timer counter (TCNT) is a 16-bit counter. Only 16-bit access can be used on TCNT; 8-bit
access is not possible.
Rev. 7.00 Sep. 11, 2009 Page 250 of 566
REJ09B0211-0700