#include <scheduler_private.h>
Public Member Functions | |
SLIST_ENTRY (event_t) next | |
Data Fields | |
void(* | f )(void *) |
void * | data |
uint16_t | period |
uint16_t | current_time |
uint8_t | priority |
enum event_state_t | state |
Definition at line 47 of file scheduler_private.h.
event_t::SLIST_ENTRY | ( | event_t | ) |
void(* event_t::f)(void *) |
a pointer to the scheduled function
Referenced by scheduler_add_event(), and scheduler_interrupt().
void* event_t::data |
a pointer to the data parameters
Definition at line 50 of file scheduler_private.h.
Referenced by dump_events(), scheduler_add_event(), and scheduler_interrupt().
uint16_t event_t::period |
interval between each call
Definition at line 51 of file scheduler_private.h.
Referenced by dump_events(), scheduler_add_event(), and scheduler_interrupt().
uint16_t event_t::current_time |
time remaining before next call
Definition at line 52 of file scheduler_private.h.
Referenced by dump_events(), scheduler_add_event(), and scheduler_interrupt().
uint8_t event_t::priority |
if many events occur at the same time, the first to be executed will be the one with the highest value of priority
Definition at line 53 of file scheduler_private.h.
Referenced by dump_events(), scheduler_add_event(), and scheduler_interrupt().
(scheduled, active, allocated, free, deleting)
Definition at line 57 of file scheduler_private.h.
Referenced by dump_events(), scheduler_add_event(), scheduler_del_event(), and scheduler_interrupt().