Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
pwr.h
Go to the documentation of this file.
1
8
9#ifndef INFUSE_SDK_INCLUDE_INFUSE_VALIDATION_PWR_H_
10#define INFUSE_SDK_INCLUDE_INFUSE_VALIDATION_PWR_H_
11
12#include <zephyr/device.h>
13#include <zephyr/sys/util.h>
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
24
25enum {
36};
37
47int infuse_validation_pwr(const struct device *fuel_gauge, uint8_t flags);
48
52
53#ifdef __cplusplus
54}
55#endif
56
57#endif /* INFUSE_SDK_INCLUDE_INFUSE_VALIDATION_PWR_H_ */
int infuse_validation_pwr(const struct device *fuel_gauge, uint8_t flags)
Validate the behaviour of a power sensors.
@ VALIDATION_PWR_POWER_UP
Validate that fuel-gauge power up.
Definition pwr.h:27
@ VALIDATION_PWR_BATTERY_SOC
Check reported battery charge percentage.
Definition pwr.h:31
@ VALIDATION_PWR_BATTERY_VOLTAGE
Check reported battery voltage.
Definition pwr.h:29
@ VALIDATION_PWR_BATTERY_TEMPERATURE
Check reported battery temperature.
Definition pwr.h:35
@ VALIDATION_PWR_BATTERY_CURRENT
Check reported battery current.
Definition pwr.h:33