Zephyr API Documentation
3.7.0
A Scalable Open Source RTOS
|
Backend APIs for the fuel gauge emulators. More...
#include <stdint.h>
#include <zephyr/drivers/emul.h>
#include <zephyr/drivers/fuel_gauge.h>
#include <zephyr/syscalls/emul_fuel_gauge.h>
Go to the source code of this file.
Functions | |
int | emul_fuel_gauge_set_battery_charging (const struct emul *target, uint32_t uV, int uA) |
Set charging for fuel gauge associated battery. | |
int | emul_fuel_gauge_is_battery_cutoff (const struct emul *target, bool *cutoff) |
Check if the battery has been cut off. | |
Backend APIs for the fuel gauge emulators.