Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
|
Schedule for a given task. More...
#include <schedule.h>
Data Structures | |
struct | battery_start_thresholds |
Battery charge thresholds to start the task. More... | |
struct | battery_terminate_thresholds |
Battery charge thresholds to terminate the task. More... | |
union | periodicity_args |
Periodicity parameters. More... | |
union | task_args |
Task specific arguments More... | |
Data Fields | |
uint8_t | task_id |
uint8_t | validity |
TASK_VALID_* value. | |
uint8_t | periodicity_type |
TASK_PERIODICITY_* value. | |
uint32_t | timeout_s |
Duration after which task is requested to terminate. | |
struct task_schedule::battery_start_thresholds | battery_start |
struct task_schedule::battery_terminate_thresholds | battery_terminate |
union task_schedule::periodicity_args | periodicity |
uint16_t | states_start_timeout_2x_s |
states_start will evaluate as true 2x this many seconds after last run started | |
struct task_schedule_state_conditions | states_start |
Task start state conditions. | |
struct task_schedule_state_conditions | states_terminate |
Task termination state conditions. | |
struct task_schedule_tdf_logging | task_logging [2] |
Task logging configuration. | |
union task_schedule::task_args | task_args |
Schedule for a given task.
Multiple schedules can exist for a single task.
struct task_schedule::battery_start_thresholds task_schedule::battery_start |
struct task_schedule::battery_terminate_thresholds task_schedule::battery_terminate |
union task_schedule::periodicity_args task_schedule::periodicity |
uint8_t task_schedule::periodicity_type |
TASK_PERIODICITY_* value.
struct task_schedule_state_conditions task_schedule::states_start |
Task start state conditions.
uint16_t task_schedule::states_start_timeout_2x_s |
states_start will evaluate as true 2x this many seconds after last run started
struct task_schedule_state_conditions task_schedule::states_terminate |
Task termination state conditions.
union task_schedule::task_args task_schedule::task_args |
uint8_t task_schedule::task_id |
struct task_schedule_tdf_logging task_schedule::task_logging[2] |
Task logging configuration.
uint32_t task_schedule::timeout_s |
Duration after which task is requested to terminate.
uint8_t task_schedule::validity |
TASK_VALID_* value.