Pin Status Input Capture

Showing results for 
Search instead for 
Did you mean: 

Pin Status Input Capture

Contributor I
This message contains an entire topic ported from a separate forum. The original message and all replies are in this single message. We have seeded this new forum with selected information that we expect will be of value to you as you search for answers to your questions.
Posted: Mon Aug 29, 2005 6:39 am    
Hi All,

In timer input capture for both rising and falling How shall I check the input transition whether High to Low or Low to High.

Posted: Mon Aug 29, 2005 9:56 am    

Can't you just poll the port for level? if high then it was a low to hig transition.

Posted: Mon Sep 05, 2005 1:48 pm    
Yep René, that's exactly how I would do it.

I can also recommend to check several time the level, to be sure that you don't capture a glitch !!!

If you do only one capture and there's a miserable glitch at the exact capture of the value, your read will be wrong.

Labels (1)
0 Kudos
0 Replies