nRF Connect SDK API 2.8.99
|
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. |