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
10#ifndef INFUSE_SDK_INCLUDE_INFUSE_TASK_RUNNER_TASKS_BATTERY_ARGS_H_
11#define INFUSE_SDK_INCLUDE_INFUSE_TASK_RUNNER_TASKS_BATTERY_ARGS_H_
12
13#include <stdint.h>
14
15#include <zephyr/sys/util.h>
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
21enum {
22 /* Battery voltage, charge current, charge percentage */
24 /* Battery voltage */
26 /* Battery charge percentage */
28};
29
32 /* Period between measurements (0 for single shot mode) */
34} __packed;
35
36#ifdef __cplusplus
37}
38#endif
39
40#endif /* INFUSE_SDK_INCLUDE_INFUSE_TASK_RUNNER_TASKS_BATTERY_ARGS_H_ */
@ TASK_BATTERY_LOG_VOLTAGE
Definition battery_args.h:25
@ TASK_BATTERY_LOG_SOC
Definition battery_args.h:27
@ TASK_BATTERY_LOG_COMPLETE
Definition battery_args.h:23
Battery task arguments.
Definition battery_args.h:31
uint16_t repeat_interval_ms
Definition battery_args.h:33