Timer2 uses timer input capture mode. The input is coming from a function generator and is a block signal. It triggers the capture callback on falling edge. On the capture Callback interrupt I read in the capture compare register of Timer2 and I chan...