Hello,
I got a couple of questions regarding software-timers:
Lets assume this code:
Now after 200 OS-Ticks they shall be called at the same time. Now what happens? Is TimerRoutine1 called and as soon as it is finished the OS-Scheduler calls TimerRoutine2? Or is TimerRoutine2 delayed until the next OS-Tick (which would be 201)?
The manual says the Softwaretimers use the C-Stack. What does this actually mean? Do they use the stack of the thread they just interrupted or the stack of main()?
thanx, Arne
I got a couple of questions regarding software-timers:
Lets assume this code:
Now after 200 OS-Ticks they shall be called at the same time. Now what happens? Is TimerRoutine1 called and as soon as it is finished the OS-Scheduler calls TimerRoutine2? Or is TimerRoutine2 delayed until the next OS-Tick (which would be 201)?
The manual says the Softwaretimers use the C-Stack. What does this actually mean? Do they use the stack of the thread they just interrupted or the stack of main()?
thanx, Arne