AnsweredAssumed Answered

Falling edge detection by hardware but without Interrupt

Question asked by lowpowermcu on Jan 11, 2014
Latest reply on Jan 13, 2014 by waclawek.jan
Hi all,

I want to detect a falling edge on external pinn let's say PD13 by hardware but without using the interrupt capability (using EXTI + NVIC).
At first time I thought it is possible to do that using EXTI only by setting EXTI13 in event mode but I discovered that the interrupt pending bit is not set in event mode.
I want my code to be like:
while(1)
{
  if(fallingedge == 1)
  {
     /* Do something */
  }
  /* Application main processing */
}
Is there a trick to do that?

Thanks in advance.

Outcomes