Detect what kinda edge currently is...
Hello guys, i am using the code below (input capture mode, timer 3) because i need measure the high and low pulses, but i am not sure how to know which edge generate the interrupt, i have configured the timer with both edges, but in the interrupt cod...