yarf 0.1
Yet Another RepRap Firmware
Data Fields
periodic_task Struct Reference

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_tasknext
 Pointer to the next task in the linked list of tasks to execute.

Detailed Description

Task that can be scheduled by the periodic scheduler.

Definition at line 36 of file periodic.h.


Field Documentation

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.

Number of milliseconds in between the periodic executions of this task.

Definition at line 38 of file periodic.h.

Number of milliseconds remaining before this task needs to be executed.

Definition at line 39 of file periodic.h.

Pointer to the next task in the linked list of tasks to execute.

Definition at line 40 of file periodic.h.


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines