TIFR1 = TIFR1 | (1<<OCF1A);
I do this all the time, and have never have problems, but I imagine that an interrupt could set a bit asynchronously. Are you suggesting to disable interrupts before the operation?
TIFR1 = TIFR1 | (1<<OCF1A);
I do this all the time, and have never have problems, but I imagine that an interrupt could set a bit asynchronously. Are you suggesting to disable interrupts before the operation?