CONSIDERATIONS FOR USING TIMER INTERRUPTS
1.
Enable Interrupt by Setting Enable Bit in TMSK1 or TMSK2 -
LEAVE OTHER BITS UNCHANGED
TMSK1 = TMSK1 | 0x40;
2.
Clear Timer Flag by Writing 1 to Flag Bit in TFLG1 or TFLG2 -
WRITE 0 TO ALL OTHER BITS
TFLG1 = 0x40;
Bill Rison
2000-02-23