CHAPTER 7 16-BIT TIMER/EVENT COUNTERS 00 AND 01
Preliminary User’s Manual U17260EJ3V1UD
178
Figure 7-7. Format of 16-Bit Timer Mode Control Register 01 (TMC01)
Address: FFB6H
After reset: 00H
R/W
Symbol
7 6 5 4 3 2 1
<0>
TMC01
0
0
0
0
TMC013 TMC012 TMC011 OVF01
TMC013
TMC012
Operation enable of 16-bit timer/event counter 01
0 0
Disables TM01 operation. Stops supplying operating clock. Asynchronously resets
the internal circuit.
0
1
Free-running timer mode
1
0
Clear & start mode entered by TI001 pin valid edge input
Note
1
1
Clear & start mode entered upon a match between TM01 and CR001
TMC011
Condition to reverse timer output (TO01)
0
•
Match between TM01 and CR001 or match between TM01 and CR011
1
•
Match between TM01 and CR001 or match between TM01 and CR011
•
Trigger input of TI001 pin valid edge
OVF01
TM01 overflow flag
Clear (0)
Clears OVF01 to 0 or TMC013 and TMC012 = 00
Set (1)
Overflow occurs.
OVF01 is set to 1 when the value of TM01 changes from FFFFH to 0000H in all the operation modes (free-running
timer mode, clear & start mode entered by TI001 pin valid edge input, and clear & start mode entered upon a match
between TM01 and CR001).
It can also be set to 1 by writing 1 to OVF01.
Note
The TI001 pin valid edge is set by bits 5 and 4 (ES011, ES010) of prescaler mode register 01 (PRM01).