CONSIDERATIONS FOR USING TIMER INTERRUPTS

  1. The first time you set up a timer register, write all bits of the register.
  2. Enable Interrupt by Setting Enable Bit in TMSK1 or TMSK2 -
    LEAVE OTHER BITS UNCHANGED
  3. Clear Timer Flag by Writing 1 to Flag Bit in TFLG1 or TFLG2 -
    WRITE 0 TO ALL OTHER BITS



Bill Rison
2001-02-26