OpenWSN Firmware
scheduler.h File Reference
#include "openwsn.h"

Go to the source code of this file.

Data Structures

struct  task_llist_t
 
struct  scheduler_vars_t
 
struct  scheduler_dbg_t
 

Macros

#define TASK_LIST_DEPTH   10
 

Typedefs

typedef void(* task_cbt )(void)
 
typedef struct task_llist_t taskList_item_t
 

Enumerations

enum  task_prio_t {
  TASKPRIO_NONE = 0x00, TASKPRIO_SIXTOP_NOTIF_RX = 0x01, TASKPRIO_SIXTOP_NOTIF_TXDONE = 0x02, TASKPRIO_SIXTOP = 0x03,
  TASKPRIO_RPL = 0x04, TASKPRIO_TCP_TIMEOUT = 0x05, TASKPRIO_COAP = 0x06, TASKPRIO_ADAPTIVE_SYNC = 0x07,
  TASKPRIO_OTF = 0x08, TASKPRIO_BUTTON = 0x09, TASKPRIO_SIXTOP_TIMEOUT = 0x0a, TASKPRIO_MAX = 0x0b
}
 

Functions

void scheduler_init (void)
 
void scheduler_start (void)
 
void scheduler_push_task (task_cbt task_cb, task_prio_t prio)
 
void isr_ieee154e_newSlot (void)
 Indicates a new slot has just started. More...
 
void isr_ieee154e_timer (void)
 Indicates the FSM timer has fired. More...
 
void isr_adc (void)