nrfxlib API 2.8.99
|
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.
parameters
must be kept valid as long as the library is in use.[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. |