beautypg.com

Chapter 7 timer/counter units – NEC PD78214 User Manual

Page 202

background image

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

0

2

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.7

←1

IF0L.2

←0

This manual is related to the following products: