185
CHAPTER 8 16-BIT TIMER/EVENT COUNTER
0
0
0
0
TMC03 TMC02 TMC01 OVF0
7
6
5
4
3
2
1
<0>
Symbol
TMC0
FF48H
00H
R/W
Address
After Reset
R/W
OVF0 16-Bit Timer Register Overflow Detection
0
Overflow not detected
1
Overflow detected
TMC03 TMC02 TMC01
Operating Mode
Clear Mode Selection
TO0 Output Timing Selection
Interrupt Generation
0
0
0
Operation stop
(TM0 cleared to 0)
No change
Not Generated
0
0
1
PWM mode
(free running)
PWM pulse output
0
1
0
0
1
1
1
0
0
1
0
1
1
1
0
1
1
1
Free running mode
Match between TM0 and
CR00 or match between
TM0 and CR01
Match between TM0 and
CR00, match between
TM0 and CR01 or TI00
valid edge
Match between TM0 and
CR00 or match between
TM0 and CR01
Match between TM0 and
CR00, match between
TM0 and CR01 or TI00
valid edge
Match between TM0 and
CR00 or match between
TM0 and CR01
Match between TM0 and
CR00, match between
TM0 and CR01 or TI00
valid edge
Clear & start on TI00
valid edge
Clear & start on match
between TM0 and CR00
Generated on match
between TM0 and CR00,
or match between TM0
and CR01
Figure 8-4. 16-Bit Timer Mode Control Register Format
Remarks 1. TO0
: 16-bit timer/event counter output pin
2. TI00
: 16-bit timer/event counter input pin
3. TM0
: 16-bit timer register
4. CR00 : Compare register 00
5. CR01 : Compare register 01
Cautions 1.
Switch the clear mode and the T00 output timing after stopping the timer operation
(by setting TMC01 to TMC03 to 0, 0, 0).
2.
Set the valid edge of the TI00/INTP0 pin with an external interrupt mode register 0
(INTM0) and select the sampling clock frequency with a sampling clock select register
(SCS).
3.
When using the PWM mode, set the PWM mode and then set data to CR00.
4.
If clear & start mode on match between TM0 and CR00 is selected, when the set value
of CR00 is FFFFH and the TM0 value changes from FFFFH to 0000H, OVF0 flag is set
to 1.
Содержание PD78052
Страница 2: ...2 MEMO ...
Страница 8: ...8 MEMO ...
Страница 16: ...16 MEMO ...
Страница 36: ...36 MEMO ...
Страница 158: ...158 MEMO ...
Страница 174: ...174 MEMO ...
Страница 240: ...240 MEMO ...
Страница 260: ...260 MEMO ...
Страница 340: ...340 MEMO ...
Страница 392: ...392 MEMO ...
Страница 438: ...438 MEMO ...
Страница 482: ...482 CHAPTER 20 REAL TIME OUTPUT PORT MEMO ...
Страница 510: ...510 MEMO ...
Страница 524: ...524 MEMO ...
Страница 560: ...560 MEMO ...
Страница 576: ...576 MEMO ...
Страница 598: ...598 MEMO ...
Страница 602: ...602 MEMO ...