Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
charge_accumulator.h
Go to the documentation of this file.
1
12#ifndef INFUSE_SDK_INCLUDE_INFUSE_AUTO_CHARGE_ACCUMULATOR_H_
13#define INFUSE_SDK_INCLUDE_INFUSE_AUTO_CHARGE_ACCUMULATOR_H_
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
34int64_t auto_charge_accumulator_query(uint32_t *num_measurements);
35
40#ifdef __cplusplus
41}
42#endif
43
44#endif /* INFUSE_SDK_INCLUDE_INFUSE_AUTO_CHARGE_ACCUMULATOR_H_ */
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.