Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
|
Task Runner runner. More...
#include <stdint.h>
#include <zephyr/sys/atomic.h>
#include <zephyr/kernel.h>
#include <infuse/task_runner/schedule.h>
#include <infuse/task_runner/task.h>
Go to the source code of this file.
Functions | |
void | task_runner_init (const struct task_schedule *schedules, struct task_schedule_state *schedule_states, uint8_t num_schedules, const struct task_config *tasks, struct task_data *task_states, uint8_t num_tasks) |
Initialise the task runner with a schedule list. | |
void | task_runner_iterate (atomic_t *app_states, uint32_t uptime, uint32_t gps_time, uint8_t battery_charge) |
Iterate the task runner. | |
struct k_work_delayable * | task_runner_start_auto_iterate (void) |
Automatically iterate the task runner. | |
uint8_t | task_runner_watchdog_channel (void) |
Get the watchdog channel associated with the task runner. | |
Task Runner runner.
SPDX-License-Identifier: FSL-1.1-ALv2