|
| int | nrf_fuel_gauge_config_params_default_get (struct nrf_fuel_gauge_config_parameters *params) |
| | Initialize configuration parameter structure to default values.
|
| |
| int | nrf_fuel_gauge_config_params_current_get (struct nrf_fuel_gauge_config_parameters *params) |
| | Initialize configuration parameter structure to the currently used values.
|
| |
| int | nrf_fuel_gauge_state_compatible_check (const void *state, size_t state_size) |
| | Check if the provided state is compatible with the current library version.
|
| |
| int | nrf_fuel_gauge_init (const struct nrf_fuel_gauge_init_parameters *parameters, float *v0) |
| | Initialize the nRF Fuel Gauge library.
|
| |
| int | nrf_fuel_gauge_process (float v, float i, float T, float t_delta, float *soc, struct nrf_fuel_gauge_state_info *state) |
| | Process battery measurement values.
|
| |
| int | nrf_fuel_gauge_soc_get (float *soc) |
| | Get predicted state-of-charge value.
|
| |
| int | nrf_fuel_gauge_tte_get (float *tte) |
| | Get predicted "time-to-empty" discharge duration.
|
| |
| int | nrf_fuel_gauge_ttf_get (float *ttf) |
| | Get predicted "time-to-full" charging duration.
|
| |
| int | nrf_fuel_gauge_soh_get (float *soh) |
| | Get predicted battery state-of-health (SOH) as a percentage of modeled battery capacity.
|
| |
| int | nrf_fuel_gauge_idle_set (float v, float T, float i_avg) |
| | Put library into the idle state.
|
| |
| int | nrf_fuel_gauge_state_get (void *state, size_t size) |
| | Retrieve library state data.
|
| |
| int | nrf_fuel_gauge_ext_state_update (enum nrf_fuel_gauge_ext_state_info_type type, union nrf_fuel_gauge_ext_state_info_data *data) |
| | Optional function to inform library of external events and factors.
|
| |
| int | nrf_fuel_gauge_config_params_adjust (const struct nrf_fuel_gauge_config_parameters *params) |
| | Update configuraton parameters.
|
| |
nRF Fuel Gauge library API.