nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ adp536x_fg_set_mode()

int adp536x_fg_set_mode ( enum adp536x_fg_enabled  en,
enum adp536x_fg_mode  mode 
)

#include <include/adp536x.h>

Set Fuel Gauge operating mode.

Parameters
[in]enEnable or disable the fuel gauge.
[in]modeActive or sleep mode.
Return values
0If the operation was successful. Otherwise, a (negative) error code is returned.