aversive_10-03-12/modules/base/scheduler/scheduler_private.h File Reference

#include <stdint.h>
#include <aversive/queue.h>

Go to the source code of this file.

Data Structures

struct  event_t

Defines

#define DUMP_EVENTS()   do {} while(0)

Enumerations

enum  event_state_t {
  SCHEDULER_EVENT_FREE, SCHEDULER_EVENT_ALLOCATED, SCHEDULER_EVENT_ACTIVE, SCHEDULER_EVENT_SCHEDULED,
  SCHEDULER_EVENT_DELETING
}

Variables

struct event_t g_tab_event [SCHEDULER_NB_MAX_EVENT]


Define Documentation

 
#define DUMP_EVENTS (  )     do {} while(0)

Definition at line 71 of file scheduler_private.h.

Referenced by scheduler_init(), and scheduler_interrupt().


Enumeration Type Documentation

state of events

Enumerator:
SCHEDULER_EVENT_FREE  event is free
SCHEDULER_EVENT_ALLOCATED  a place is reserved in the tab
SCHEDULER_EVENT_ACTIVE  fields are filled correctly, event can be scheduled
SCHEDULER_EVENT_SCHEDULED  event is inserted in a list to be running soon, or is running
SCHEDULER_EVENT_DELETING  event is scheduled but we asked to delete it

Definition at line 38 of file scheduler_private.h.


Variable Documentation

struct event_t g_tab_event[SCHEDULER_NB_MAX_EVENT]

declared in scheduler_host.c in case of host version

declared in scheduler.c in case of AVR version

Definition at line 35 of file scheduler.c.

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


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