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
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
24enum {
35};
36
46int infuse_validation_pwr(const struct device *fuel_gauge, uint8_t flags);
47
52#ifdef __cplusplus
53}
54#endif
55
56#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:26
@ VALIDATION_PWR_BATTERY_SOC
Check reported battery charge percentage.
Definition pwr.h:30
@ VALIDATION_PWR_BATTERY_VOLTAGE
Check reported battery voltage.
Definition pwr.h:28
@ VALIDATION_PWR_BATTERY_TEMPERATURE
Check reported battery temperature.
Definition pwr.h:34
@ VALIDATION_PWR_BATTERY_CURRENT
Check reported battery current.
Definition pwr.h:32