Question
Interrrupt on every rising edge of input signale(square wave)
Using an input capture ch2 of TIM1 ,i want to generate interrupts at every rising edge of input signal(square wave) and call a call back function to do something.The output is is an output compare ch1 of the same timer1. Can you help me?
