nRF Connect SDK API 0.1.0
|
int adp536x_fg_volts | ( | uint16_t * | millivolts | ) |
#include <include/adp536x.h>
Read battery voltage.
[out] | millivolts | Battery voltage in millivolts |
0 | If the operation was successful. Otherwise, a (negative) error code is returned. |