AVR SD Safety Framework 1.0.0
Loading...
Searching...
No Matches
main_example.h File Reference

Defines configurations used in main_example.c. More...

#include <stddef.h>
#include <define_schedule_entry.h>
#include <tasks_config.h>
#include <tasks_scheduler.h>
#include <tasks_shared.h>
#include <tasks_startup.h>

Macros

#define STARTUP_SCHEDULE_LEN   3U
 Configures the schedule length of the example Application Startup Schedule.
#define SCHEDULE_LEN   3U
 Configures the schedule length of the example Application Schedule.
#define DUR_UNTIL_NEXT_SCHEDULE   500UL
 Configures the duration in system clock cycles until the first Task in the next example Application schedule is run, after completing the last Task in the previous one.
#define DUR_EXAMPLE_PADDING   82400UL
 Configures additional padding, in system clock cycles, for the default schedule.

Variables

const scheduleEntry_t appStartupSchedule [STARTUP_SCHEDULE_LEN]
 Defines an example Application Startup Schedule with optional Tasks.
const scheduleEntry_t appSchedule [SCHEDULE_LEN]
 Defines an example Application Schedule with optional Tasks.
const scheduleEntry_t appShutdownTask
 Defines an example Application Shutdown Task schedule entry.

Detailed Description

Defines configurations used in main_example.c.

Warning

This file is not intended to be included in multiple translation units, doing so will create multiple copies of the schedule arrays, which is not recommended. They are only placed here to make the example clearer.

Attention
This example file is intended to be modified by the system integrator according to development requirements.