How do I set up a timer? Is there an example code somewhere? Also, is there a limit to the number of timers? I need 3 for this project, but I am curious too.
For instance, in Winforms .Net, all I would have to do is drag and drop a timer control to the form, set the interval in milliseconds, set up the timer event handler, basically double click on the event, and either programmatically, or more conveniently, set start, and off it goes. In the event, I would stop the timer and at the end of the handler event I would start the timer again.
The previous version of my project used a different CPU, an Intel 80386EX, which made you jump through hoops to get something simple. It would seem that possibly the High End Timer (N2HET) might be what I need, but reviewing the manual for N2HET seemed that that module did something else.
Anyways, how would I programmatically set up my 3 timers? The inputs I presume for all timers would be the interval and where the ISR.
Do I need to do any EOI notification or re-setup?