|
Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
|
State for a given task schedule. More...
#include <schedule.h>
Data Fields | |
| struct task_schedule_state * | linked |
| Linked schedule for TASK_PERIODICITY_AFTER. | |
| task_schedule_event_cb_t | event_cb |
| Optional callback to be notified of schedule events. | |
| uint32_t | last_run |
| System uptime that started the last run of this schedule. | |
| uint32_t | runtime |
| Duration of current run. | |
| uint32_t | last_terminate |
| System uptime at termination of last run of this schedule. | |
| uint8_t | task_idx |
| Index into task array that corresponds with schedule task_id. | |
State for a given task schedule.
One state struct exists per task_schedule
| task_schedule_event_cb_t task_schedule_state::event_cb |
Optional callback to be notified of schedule events.
| uint32_t task_schedule_state::last_run |
System uptime that started the last run of this schedule.
| uint32_t task_schedule_state::last_terminate |
System uptime at termination of last run of this schedule.
| struct task_schedule_state* task_schedule_state::linked |
Linked schedule for TASK_PERIODICITY_AFTER.
| uint32_t task_schedule_state::runtime |
Duration of current run.
| uint8_t task_schedule_state::task_idx |
Index into task array that corresponds with schedule task_id.