Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
emul_fuel_gauge.h File Reference

Backend APIs for the fuel gauge emulators. More...

#include <stdint.h>
#include <zephyr/drivers/emul.h>
#include <zephyr/drivers/fuel_gauge.h>
#include <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.
 

Detailed Description

Backend APIs for the fuel gauge emulators.