Loading...
Searching...
No Matches
scheduler_types.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2020 Inria
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
20
21#include "opendefs.h"
22#include "scheduler.h"
23#include "event/callback.h"
24#include "memarray.h"
25
26#ifdef __cplusplus
27extern "C" {
28#endif
29
33typedef struct {
34 event_callback_t task_buff[TASK_LIST_DEPTH];
37
38#if SCHEDULER_DEBUG_ENABLE
42typedef struct {
43 uint8_t numTasksCur;
44 uint8_t numTasksMax;
45} scheduler_dbg_t;
46#endif
47
48#ifdef __cplusplus
49}
50#endif
Provides a callback-with-argument event type.
Callback Event structure definition.
Definition callback.h:45
Memory pool.
Definition memarray.h:32
OpenWSN scheduler variables structure.
memarray_t memarray
Memarray management.
event_callback_t task_buff[TASK_LIST_DEPTH]
Task buffer.