CONSIDERATIONS FOR USING TIMER INTERRUPTS
1.
Enable Interrupt by Setting Enable Bit -
LEAVE OTHER BITS UNCHANGED
TMSK2 = TMSK2 | 0x40;
2.
Clear Timer Flag by Writing 1 to Flag Bit -
WRITE 0 TO ALL OTHER BITS
TFLG2 = 0x40;