133
Chapter 7 Timer/Counter Units
7
Fig. 7-31 Timing of Pulse Width Measurement
Remark
D
n
: TM0 count value (n = 0, 1, 2, ...)
Fig. 7-32 Setting of Control Registers for Pulse Width Measurement
(a) Timer control register 0 (TMC0)
(b) Capture/compare control register 0 (CRC0)
7
6
5
4
3
2
1
0
0
0
0
0
0
0
0
1
CRC0
Disables clearing TM0
Both TO0 and TO1 are used for
toggle output
★
OVF0
CR02
TM0
count value
0H
D0
D1
Captured
Captured
(D1 – D0)
×
8/f
CLK
Captured
Count starts
CE0¨ 1
D0
D1
D2
D3
(D3 – D2)
×
8/f
CLK
(10000H – D1
+ D2)
×
8/f
CLK
FFFFH
FFFFH
INTP3
external input signal
INTP3
interrupt request
Cleared by software
Captured
D2
D3
7
6
5
4
3
2
1
0
0
0
0
0
0
0
1
TMC0
Overflow flag
Enables counting TM0
×
Summary of Contents for PD78212
Page 11: ......
Page 53: ...24 ...
Page 61: ...32 µPD78214 Sub Series 9 VSS Ground 10 NC non connection Not connected inside the chip ...
Page 65: ...36 ...
Page 83: ...54 ...
Page 135: ...106 ...
Page 271: ...242 ...
Page 405: ...376 ...
Page 417: ...388 ...
Page 423: ...394 ...
Page 449: ...420 ...
Page 457: ...428 ...
Page 471: ...442 ...
Page 487: ...458 ...