The interrupt will happen again immediately before returning from the ISR? I thought if the flag bit isn't cleared, the next interrupt will never happen again?
Suraj143,
The timer will still continue running until you stop it. The main reason of the bit flag is set with interrupt is because there can be more than one interrupt, so this flag bit is to indicate which interrupt has occurred.
The interrupt will happen again immediately before returning from the ISR? I thought if the flag bit isn't cleared, the next interrupt will never happen again?