FuSa 8-Bit Libraries Safety Framework
Loading...
Searching...
No Matches
define_schedule_entry.h
Go to the documentation of this file.
1
22
23#ifndef DEFINE_SCHEDULE_ENTRY_H
24#define DEFINE_SCHEDULE_ENTRY_H
25
26#include <stdint.h>
27
41typedef void (*task_t)(void);
42
56typedef struct
57{
59 uint32_t duration;
61
62#endif // DEFINE_SCHEDULE_ENTRY_H
void(* task_t)(void)
Defines a function pointer type for tasks.
Defines a schedule entry containing a task function pointer and its duration.
uint32_t duration
task_t task