CHAPTER 6 16-BIT TIMER/EVENT COUNTER 00
Preliminary User’s Manual U16898EJ1V0UD
85
Figure 6-5. Format of 16-Bit Timer Mode Control Register 00 (TMC00)
7
0
6
0
5
0
4
0
3
TMC003
2
TMC002
1
TMC001
<0>
OVF00
Symbol
TMC00
Address: FF60H After reset: 00H R/W
OVF00
Overflow detection of 16-bit timer counter 00 (TM00)
0 Overflow
not
detected
1 Overflow
detected
Cautions 1. To write different data to TMC00, stop the timer operation before writing.
2. The timer operation must be stopped before writing to bits other than the OVF00 flag.
3. Set the valid edge of the TI000/INTP0/P30 pin with prescaler mode register 00 (PRM00).
4. If the clear & start mode entered on a match between TM00 and CR000, clear & start mode at
the valid edge of the TI000 pin, or free-running mode is selected, when the set value of CR000
is FFFFH and the TM00 value changes from FFFFH to 0000H, the OVF00 flag is set to 1.
Remark TM00: 16-bit timer counter 00
CR000: 16-bit timer capture/compare register 000
CR010: 16-bit timer capture/compare register 010
TMC003 TMC002 TMC001
Operating mode and clear
mode selection
TO00 inversion timing selection
Interrupt request generation
0 0 0
0 0 1
Operation stop
(TM00 cleared to 0)
No change
Not generated
0 1 0
Free-running
mode
Match between TM00 and
CR000 or match between
TM00 and CR010
0 1 1
Match between TM00 and
CR000, match between TM00
and CR010 or TI000 valid edge
1 0 0
1 0 1
Clear & start occurs on valid
edge of TI000 pin
−
1 1 0
Clear & start occurs on match
between TM00 and CR000
Match between TM00 and
CR000 or match between
TM00 and CR010
1 1 1
Match between TM00 and
CR000, match between TM00
and CR010 or TI000 valid edge
Generated on match between
TM00 and CR000, or match
between TM00 and CR010
www.DataSheet4U.com
www.DataSheet4U.com