I am trying to acquire the amount of ticks a timer counts using a 50Hz signal (acquired from the mains using hardware). For this I use a EXTI8 interrupt where the 50Hz signal is sampled. I can see on the scope that this interrupts works perfectly (by...