Pin Status Input Capture

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Pin Status Input Capture

2,182 Views
RChapman
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.


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,
Labels (1)
0 Kudos
0 Replies