Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
battery.h File Reference

Battery measurement task. More...

Go to the source code of this file.

Macros

#define BATTERY_TASK(define_mem, define_config, bat_ptr)
 Battery task.

Functions

void battery_task_fn (struct k_work *work)
 Battery task function.
int task_battery_manual_run (const struct device *dev, const struct task_battery_args *args, struct tdf_battery_state *tdf)
 Manually run the core battery sampling logic.

Detailed Description

Battery measurement task.

Author
Jordan Yates jorda.nosp@m.n@em.nosp@m.beint.nosp@m..com

SPDX-License-Identifier: FSL-1.1-ALv2