Ruth Hendrix

Pin Status Input Capture

Discussion created by Ruth Hendrix Employee on Jan 24, 2006
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.


Regards
Posted: Mon Aug 29, 2005 9:56 am    
 
Hello

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

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

Cheers,

Outcomes