Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
|
charge_accumulator API More...
Functions | |
int64_t | auto_charge_accumulator_query (uint32_t *num_measurements) |
Get the amount of charge that has entered/exited the battery since the last call. | |
charge_accumulator API
int64_t auto_charge_accumulator_query | ( | uint32_t * | num_measurements | ) |
#include <infuse/auto/charge_accumulator.h>
Get the amount of charge that has entered/exited the battery since the last call.
num_measurements | Number of measurements since the last call (optional) |