Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
task_schedule Struct Reference

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
 

Detailed Description

Schedule for a given task.

Multiple schedules can exist for a single task.

Field Documentation

◆ battery_start

struct task_schedule::battery_start_thresholds task_schedule::battery_start

◆ battery_terminate

struct task_schedule::battery_terminate_thresholds task_schedule::battery_terminate

◆ periodicity

union task_schedule::periodicity_args task_schedule::periodicity

◆ periodicity_type

uint8_t task_schedule::periodicity_type

TASK_PERIODICITY_* value.

◆ states_start

struct task_schedule_state_conditions task_schedule::states_start

Task start state conditions.

◆ states_start_timeout_2x_s

uint16_t task_schedule::states_start_timeout_2x_s

states_start will evaluate as true 2x this many seconds after last run started

◆ states_terminate

struct task_schedule_state_conditions task_schedule::states_terminate

Task termination state conditions.

◆ task_args

union task_schedule::task_args task_schedule::task_args

◆ task_id

uint8_t task_schedule::task_id

◆ task_logging

struct task_schedule_tdf_logging task_schedule::task_logging[2]

Task logging configuration.

◆ timeout_s

uint32_t task_schedule::timeout_s

Duration after which task is requested to terminate.

◆ validity

uint8_t task_schedule::validity

TASK_VALID_* value.


The documentation for this struct was generated from the following file: