CONSIDERATIONS FOR USING TIMER INTERRUPTS
Enable Interrupt by Setting Enable Bit -
LEAVE OTHER BITS UNCHANGED
TMSK2 = TMSK2 | 0x80;
Clear Timer Flag by Writing 1 to Flag Bit -
WRITE 0 TO ALL OTHER BITS
TFLG2 = 0x80;
Bill Rison
2001-02-16