I have gone thru the FAQ list of AVR-LIBC. There i found some explanation for using 1 to clear the interrupt. But i don't get the point clearly.
That doc says that the following method of clearing a interrupt is wrong
TIFR |= _BV(TOV0); /* wrong! */
and they refer that the following one is the right way of clearing the interrupt
TIFR = _BV(TOV0);
Please explain it to some more extent and also please clarify me the point for using logic 1 rather than using logic 0 to clear a interrupt.
Thanks in advance to everyone