If divider is power of 2, why not use & ?Only worth this kind of optimization in cases where serial performance was the bottleneck.
I try to do simple audio recorder from the arduino uno (just for fun and training).
I programmed Timer2 for generate interrupts at 16KHz (every 62.5uS) and set ADC prescaler to 64
(so, ADC conversion must take 52uS). But sometymes, ADC don't have to complete previous conversion, when the next interrupt occurs.
I think, it is because other interrupts brings a time jitter to time, when Timer2 interrupt handler raise...
Thank you, for your quick response!