173
Chapter 7 Timer/Counter Units
7
Fig. 7-77 Example Where Input of No Valid Edge Cannot Be Distinguished from Input of Only One Valid Edge
with External Event Counter
Cannot be distinguished
TM2 1
02
CI
0
Count starts
Fig. 7-78 How to Distinguish Input of No Valid Edge from Input of Only One Valid Edge
with External Event Counter
(a) Count start processing
Count starts
Clear INTP2 interrupt
request flag ; Clears PIF2 (0)
Start counting ; Sets CE2 (1)
End
TMC1.71
IF0L.20