Interrupt after a certain timeout after the last timer interrupt
I am using timer interrupt to measure the frequency of a square signal. When no signal is detected, I want to set the frequency to 0. The problem is that the frequency keeps the value it got at the last interrupt. Is there some way so that I can trig...