Posted By:
Arnold_Daniels
Posted On:
Tuesday, May 22, 2001 07:44 AM
Oke, so timer 0 to 2 are used by the firmware. As seen in an answer in the FAQ. But is there anyway to create an independent timer. I need to create a periodic interrupt every 10ms. I've got a few possible solutions: - (mis)use te watchdog timer. - disable one of the serial ports and use that timer. - Add some code to the interrupt handler of timer 0 to call my procedure ones every 10 ten interrups. Could you please tell me if any of these idees will work. And how or why not. Thanks, Arnold
More>>
Oke, so timer 0 to 2 are used by the firmware. As seen in
an answer
in the FAQ. But is there anyway to create an independent timer. I need to create a periodic interrupt every 10ms.
I've got a few possible solutions:
- (mis)use te watchdog timer.
- disable one of the serial ports and use that timer.
- Add some code to the interrupt handler of timer 0 to call my procedure ones every 10 ten interrups.
Could you please tell me if any of these idees will work. And how or why not.
Thanks,
Arnold
<<Less