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
22#ifndef SCHEDULER_TYPES_H
23#define SCHEDULER_TYPES_H
24
25#include "opendefs.h"
26#include "scheduler.h"
27#include "event/callback.h"
28#include "memarray.h"
29
30#ifdef __cplusplus
31extern "C" {
32#endif
33
37typedef struct {
38 event_callback_t task_buff[TASK_LIST_DEPTH];
41
42#if SCHEDULER_DEBUG_ENABLE
46typedef struct {
47 uint8_t numTasksCur;
48 uint8_t numTasksMax;
49} scheduler_dbg_t;
50#endif
51
52#ifdef __cplusplus
53}
54#endif
55
56#endif /* SCHEDULER_TYPES_H */
Provides a callback-with-argument event type.
Callback Event structure definition.
Definition callback.h:49
Memory pool.
Definition memarray.h:35
OpenWSN scheduler variables structure.
memarray_t memarray
Memarray management.