Timer Interrupt on overflow only
I am capturing an RC PPM signal using an advanced timer with DMA. But now, I want to implement a failsafe in case of a lost connection using only hardware. The closest I got so far is using a separate timer (with pins connected externally) in reset mode, so the counter restarts when an edge is detected. I am using the timer update interrupt to know when the counter period has been reached. This works, except that the act of resetting the counter also triggers this interrupt. I want an interrupt only when there has been no activity on a pin for an amount of time.