CHAPTER 6 16-BIT TIMER/EVENT COUNTER
130
User’s Manual U11302EJ4V0UM
Figure 6-5. Format of 16-Bit Timer Mode Control Register
OVF0
16-bit timer register overflow detection
0
Overflow not detected
1
Overflow detected
Operating mode & clear
TO0 output timing
Interrupt request
TMC03 TMC02 TMC01
mode selection
selection
generation
Operation stop
No change
Not generated
(TM0 cleared to 0)
PWM mode
PWM pulse output
(free-running)
Free-running mode
Match between TM0 and
0
1
0
CR00
Match between TM0 and
CR00 or TI0 valid edge
Clear & start on TI0 valid
Match between TM0 and
edge
CR00
Match between TM0 and
CR00 or TI0 valid edge
Match between TM0 and
1
1
0
CR00
Match between TM0 and
CR00 or TI0 valid edge
Cautions 1. Switch the clear mode and the TO0 output timing after stopping the timer operation (by
setting TMC01 to TMC03 to 0, 0, 0).
2. The valid edge of the TI0/INTP0 pin is specified by the external interrupt mode register
(INTM0) and the sampling clock frequency is selected by the sampling clock select register
(SCS).
3. When using the PWM mode, set the PWM mode and then set data to CR00.
Remark
TO0:
16-bit timer/event counter output pin
TI0:
16-bit timer/event counter input pin
TM0:
16-bit timer register
CR00: Compare register 00
0
0
1
0
0
0
1
0
0
0
1
1
1
1
1
1
0
1
Clear & start on match
between TM0 and CR00
Generated on match
between TM0 and CR00
OVF0
TMC0
7
6
5
4
3
2
Symbol
1
<0>
FF48H
TMC01
TMC03 TMC02
0
0
0
0
Address
After reset
R/W
00H
R/W
Содержание mPD780204
Страница 2: ...2 User s Manual U11302EJ4V0UM MEMO ...