AnsweredAssumed Answered

TIM_ICPolarity_BothEdge not available for most timers???

Question asked by net_id on Jun 6, 2012
Latest reply on Sep 7, 2012 by net_id
Hi. I need to read a digital signal coming into an STM32F100.
Timing how long the signal is in a low state and also knowing if the counter overflowed would give me the two pieces of information I need (value of the data bit and a timeout indication).
Timer update without a capture (and reload) would indicate a timeout.
Using both edges of the signal to capture a timer seemed the way to go.

I note in the std peripeherals lib (3.5.0) that TIM_ICPolarity_BothEdge is NOT available for TIM2 but only for the basic timers.
If that's true, is there another way to do what I need?

Thanks            ...Laurie:{) 

Outcomes