Pin Status Input Capture

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Pin Status Input Capture

2,180 次查看
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,
标签 (1)
0 项奖励
0 回复数