Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
|
Enumerations | |
enum | { VALIDATION_PWR_POWER_UP = 0 , VALIDATION_PWR_BATTERY_VOLTAGE = BIT(0) , VALIDATION_PWR_BATTERY_SOC = BIT(1) , VALIDATION_PWR_BATTERY_CURRENT = BIT(2) , VALIDATION_PWR_BATTERY_TEMPERATURE = BIT(3) } |
Functions | |
int | infuse_validation_pwr (const struct device *fuel_gauge, uint8_t flags) |
Validate the behaviour of a power sensors. | |
anonymous enum |
#include <infuse/validation/pwr.h>
int infuse_validation_pwr | ( | const struct device * | fuel_gauge, |
uint8_t | flags ) |
#include <infuse/validation/pwr.h>
Validate the behaviour of a power sensors.
fuel_gauge | Device that implements the fuel-gauge API |
flags | Validation tests to run |
0 | On success |
-errno | On failure |