![]() |
nrfxlib API 3.3.99
|
| int(* nrf_fuel_gauge_init_parameters::lock_func) (const void *context, bool lock) |
Optional lock function for synchronizing access to library state when using the library from multiple contexts. Set to NULL when not used.
| context | Context pointer provided to the lock function. |
| lock | When true, the function should acquire the lock. Otherwise release it. |
| 0 | if lock/unlock successful, negative error code if failed. |