Loading...
Searching...
No Matches
scheduler_types.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2020 Inria
3 *
4 * This file is subject to the terms and conditions of the GNU Lesser
5 * General Public License v2.1. See the file LICENSE in the top level
6 * directory for more details.
7 */
8
9#pragma once
10
23
24#include "opendefs.h"
25#include "scheduler.h"
26#include "event/callback.h"
27#include "memarray.h"
28
29#ifdef __cplusplus
30extern "C" {
31#endif
32
36typedef struct {
37 event_callback_t task_buff[TASK_LIST_DEPTH];
40
41#if SCHEDULER_DEBUG_ENABLE
45typedef struct {
46 uint8_t numTasksCur;
47 uint8_t numTasksMax;
48} scheduler_dbg_t;
49#endif
50
51#ifdef __cplusplus
52}
53#endif
Provides a callback-with-argument event type.
Callback Event structure definition.
Definition callback.h:48
Memory pool.
Definition memarray.h:35
OpenWSN scheduler variables structure.
memarray_t memarray
Memarray management.
event_callback_t task_buff[TASK_LIST_DEPTH]
Task buffer.