Go to the documentation of this file.
15 #ifndef SCHEDULETABLETYPES_H_
16 #define SCHEDULETABLETYPES_H_
enum tasks_e TaskType
Type for task reference.
uint8_t EventMaskType
Data type of the event mask.
Structure for task activation action.
uint64_t TickType
Data type of counter values.
Structure for expiry point.
const TickType offset
Offset from schedule table start.
Types used for counter management.
const TickType finalDelay
Final delay of schedule table (applied after last expiry point.
enum counters_e CounterType
Type for counter reference.
const struct scheduleTableExpiryActionTask_s * taskActionList
List of task activation actions (may be NULL if numTaskActions equals zero)
enum scheduleTables_e ScheduleTableType
Type for schedule table reference.
const bool cyclic
If true the schedule table is cyclic.
const bool autoStart
If true the schedule table will be started at startup.
scheduleTableState_e
State of schedule table.
const struct scheduleTableExpiryPoint_s * expiryPointList
List of expiry points.
const uint8_t numTaskActions
Length of taskActionList.
@ SCHEDULETABLE_STOPPED
Schedule table is stopped.
const EventMaskType event
Mask of events to set.
Structure for event activation action.
@ SCHEDULETABLE_NEXT
Schedule table is queued after another table.
const uint8_t numEventActions
Length of eventActionList.
const CounterType counter
Counter driving the schedule table.
Structure for schedule table.
volatile ScheduleTableStatusType currentState
Current state of the schedule table.
enum scheduleTableState_e ScheduleTableStatusType
State of schedule table.
const TaskType task
ID of task to set events for.
const uint8_t numExpiryPoints
Length of expiryPointList.
volatile ScheduleTableType next
Schedule table queued after the current one.
const struct scheduleTableExpiryActionEvent_s * eventActionList
List of event activation actions (may be NULL if numEventActions equals zero)
ScheduleTableStatusType * ScheduleTableStatusRefType
Type of status reference.
@ SCHEDULETABLE_RUNNING
Schedule table is running.
volatile TickType currentTick
Current tick of the schedule table.
@ SCHEDULETABLE_PRE_RUNNING
Schedule table is running but not yet executing until the tick reaches zero.
const TaskType task
ID of task to activate.