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
41
typedef
void (*
task_t
)(void);
42
56
typedef
struct
57
{
58
task_t
task
;
59
uint32_t
duration
;
60
}
scheduleEntry_t
;
61
62
#endif
// DEFINE_SCHEDULE_ENTRY_H
task_t
void(* task_t)(void)
Defines a function pointer type for tasks.
Definition
define_schedule_entry.h:41
scheduleEntry_t
Defines a schedule entry containing a task function pointer and its duration.
Definition
define_schedule_entry.h:57
scheduleEntry_t::duration
uint32_t duration
Definition
define_schedule_entry.h:59
scheduleEntry_t::task
task_t task
Definition
define_schedule_entry.h:58
safety_framework
src
task_managers
define_schedule_entry.h
Generated by
1.15.0