yarf 0.1
Yet Another RepRap Firmware
|
Task that can be scheduled by the periodic scheduler. More...
#include <periodic.h>
Data Fields | |
void(* | f )(void) |
Pointer to the function to be executed when this periodic task needs to run. | |
unsigned long | ms_periodic |
Number of milliseconds in between the periodic executions of this task. | |
unsigned long | ms_remaining |
Number of milliseconds remaining before this task needs to be executed. | |
struct periodic_task * | next |
Pointer to the next task in the linked list of tasks to execute. |
Task that can be scheduled by the periodic scheduler.
Definition at line 36 of file periodic.h.
void(* periodic_task::f)(void) |
Pointer to the function to be executed when this periodic task needs to run.
Definition at line 37 of file periodic.h.
unsigned long periodic_task::ms_periodic |
Number of milliseconds in between the periodic executions of this task.
Definition at line 38 of file periodic.h.
unsigned long periodic_task::ms_remaining |
Number of milliseconds remaining before this task needs to be executed.
Definition at line 39 of file periodic.h.
struct periodic_task* periodic_task::next |
Pointer to the next task in the linked list of tasks to execute.
Definition at line 40 of file periodic.h.