event_t Struct Reference

#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


Detailed Description

The event structure

Definition at line 47 of file scheduler_private.h.


Member Function Documentation

event_t::SLIST_ENTRY ( event_t   ) 


Field Documentation

void(* event_t::f)(void *)

a pointer to the scheduled function

Referenced by scheduler_add_event(), and scheduler_interrupt().

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().

time remaining before next call

Definition at line 52 of file scheduler_private.h.

Referenced by dump_events(), scheduler_add_event(), and scheduler_interrupt().

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().


The documentation for this struct was generated from the following file:

Generated on Fri Mar 12 06:32:30 2010 for AVR by  doxygen 1.5.6