AnsweredAssumed Answered

TIM_ICPOLARITY_BOTHEDGE Input capture in STM32L

Question asked by GDC on Nov 28, 2014
Latest reply on Nov 28, 2014 by GDC
Hello Guys,

I´m developing an application with STM32L and I would like to use TIM2 Input capture with TIM_ICPOLARITY_BOTHEDGE.

When the interrupt occurs...

Is there a way of knowing which Polarity has been detected?

Maybe it can be able getting the digital value of this channel. If it is high Rising edge has occured. Isn´t it?

Is there  some better solution?

Outcomes