132
CHAPTER 6 16-BIT TIMER/EVENT COUNTER 0
User’s Manual U15798EJ2V0UD
Figure 6-2. Format of 16-Bit Timer Mode Control Register 0 (TMC0)
TMC03
TMC02
Operation mode and
TO00 output timing selection
Interrupt request generation
clear mode selection
0
0
Operation stop
No change
Not generated
(TM0 cleared to 0)
0
1
Free-running mode
Match between TM0 and
Generated on match
CR00 or match between TM0
between TM0 and CR00, or
and CR01
match between TM0 and
1
0
Clear & start on TI00 valid
—
CR01
edge
1
1
Clear & start on match
Match between TM0 and
between TM0 and CR00
CR00 or match between TM0
and CR01
OVF0
16-bit timer counter 0 (TM0) overflow detection
0
Overflow not detected
1
Overflow detected
Cautions 1. Be sure to stop timer operation before writing to bits other than the OVF0 flag.
2. Set the valid edge of the TI00/P35 pin with prescaler mode register 0 (PRM0).
3. If clear & start mode on entered a match between TM0 and CR00 is selected, when the set
value of CR00 is FFFFH and the TM0 value changes from FFFFH to 0000H, the OVF0 flag
is set to 1.
Remarks 1.
TO00: 16-bit timer/event counter 0 output pin
2.
TI00:
16-bit timer/event counter 0 input pin
3.
TM0:
16-bit timer counter 0
4.
CR00: 16-bit timer capture/compare register 00
5.
CR01: 16-bit timer capture/compare register 01
7
0
6
0
5
0
4
0
3
TMC03
2
TMC02
1
0
0
OVF0
Symbol
TMC0
Address: FF60H After reset: 00H R/W
Содержание mPD780344 Series
Страница 2: ...2 User s Manual U15798EJ2V0UD MEMO...