nrfxlib API 0.1.0
|
int nrf_fuel_gauge_init | ( | const struct nrf_fuel_gauge_init_parameters * | parameters, |
float * | v0 | ||
) |
#include <nrf_fuel_gauge/include/nrf_fuel_gauge.h>
Initialize the nRF Fuel Gauge library.
[in] | parameters | Pointer to the parameter structure. |
[out] | v0 | Adjusted battery voltage (optional, for logging purposes). |
0 | Initialization successful. |
-22 | Initialization failed due to invalid parameters. |