Scheduler.
More...
#include <modm/processing/scheduler/scheduler.hpp>
|
void | scheduleTask (Task &task, uint16_t period, Priority priority=127) |
|
void | schedule () |
|
void | scheduleInterupt () |
|
Scheduler.
If the schedule() method is call from a timer interrupt, this scheduler is a priority based preemptive scheduler, meaning that always the task with the highest priority is executed. It will only change tasks if a task with a higher priority becomes ready or the current task ends.
- Warning
- Works for ATmega, but currently not for the ATxmega!
- Author
- Fabian Greif
The documentation for this class was generated from the following files:
- scheduler/scheduler.hpp
- scheduler/scheduler.cpp