147
CHAPTER 6 16-BIT TIMER/EVENT COUNTER 0
User’s Manual U15798EJ2V0UD
Figure 6-21. Control Register Settings for Pulse Width Measurement by Means of Restart
(a) 16-bit timer mode control register 0 (TMC0)
0
0
0
0
TMC03
1
TMC02
0
0
OVF0
0
TMC0
Clears and starts at valid edge of TI00/P35 pin.
(b) Capture/compare control register 0 (CRC0)
0
0
0
0
0
CRC02
1
CRC01
1
CRC00
1
CRC0
CR00 used as capture register
Captures to CR00 at edge reverse to valid edge of TI00/P35.
CR01 used as capture register
Figure 6-22. Timing of Pulse Width Measurement Operation by Means of Restart
(with Rising Edge Specified)
t
0000H
0001H
0000H
0001H
0000H 0001H
D0
D0
INTTM01
D1
×
t
D2
×
t
D2
D1
D2
D1
CR00 capture value
Count clock
TM0 count value
TI00 pin input
CR01 capture value
Содержание mPD780344 Series
Страница 2: ...2 User s Manual U15798EJ2V0UD MEMO...