This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Using timers and interrupts

Hi,

I am trying to write a program that will perform an action at 30 MHz. I was thinking the way I need to do this is to set a timer that will go off every 1/30th of a second and call an interrupt to perform the action. Does anyone have any example code of how this would be done on an 8051 (ADuC812 specifically) ?

Thanks,
Todd

0