Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
battery_args.h
Go to the documentation of this file.
1
11
12#ifndef INFUSE_SDK_INCLUDE_GENERATED_TASK_RUNNER_TASKS_BATTERY_ARGS_H_
13#define INFUSE_SDK_INCLUDE_GENERATED_TASK_RUNNER_TASKS_BATTERY_ARGS_H_
14
15#include <stdint.h>
16
17#include <zephyr/toolchain.h>
18#include <zephyr/sys/util.h>
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
28
29enum {
36};
37
42} __packed;
43
47
48#ifdef __cplusplus
49}
50#endif
51
52#endif /* INFUSE_SDK_INCLUDE_GENERATED_TASK_RUNNER_TASKS_BATTERY_ARGS_H_ */
@ TASK_BATTERY_LOG_VOLTAGE
Log battery voltage.
Definition battery_args.h:33
@ TASK_BATTERY_LOG_SOC
Log battery charge percentage.
Definition battery_args.h:35
@ TASK_BATTERY_LOG_COMPLETE
Log battery voltage, charge current and charge percentage.
Definition battery_args.h:31
Battery task arguments (task_battery_args)
Definition battery_args.h:39
uint16_t repeat_interval_ms
Period between measurements, 0 for single shot mode.
Definition battery_args.h:41