![]() |
FuSa 8-Bit Libraries Safety Framework
|
Defines a schedule entry containing a task function pointer and its duration. More...
#include <define_schedule_entry.h>
Data Fields | |
| task_t | task |
| uint32_t | duration |
Defines a schedule entry containing a task function pointer and its duration.
This structure holds a function pointer to a task and its associated execution time (duration), measured in system clock cycles. The specified duration ensures a fixed execution time of each task, which is used to maintain the Fault Detection Time Interval (FDTI). The duration should be set greater than the Worst-Case Execution Time (WCET) of the task. If a task's execution time exceeds its scheduled duration, the system will trigger an error handling process.
The structure is used to create a schedule for the Task Manager functions TM_Startup and TM_Scheduler.
Definition at line 56 of file define_schedule_entry.h.
| uint32_t duration |
Duration of the task in system clock cycles, value max is 24-bit
Definition at line 59 of file define_schedule_entry.h.
| task_t task |
Function pointer to the task
Definition at line 58 of file define_schedule_entry.h.