2010-09-22 15:10:42 +02:00
|
|
|
#ifndef __LTC4150_H
|
|
|
|
#define __LTC4150_H
|
|
|
|
|
|
|
|
#include <ltc4150_arch.h>
|
|
|
|
|
|
|
|
void ltc4150_init();
|
|
|
|
void ltc4150_start();
|
|
|
|
void ltc4150_stop();
|
|
|
|
|
|
|
|
double ltc4150_get_current_mA();
|
2010-11-05 23:43:14 +01:00
|
|
|
double ltc4150_get_total_mAh();
|
2011-03-04 16:46:20 +01:00
|
|
|
double ltc4150_get_total_Joule(void);
|
2010-09-22 15:10:42 +02:00
|
|
|
double ltc4150_get_avg_mA();
|
2010-11-09 18:48:45 +01:00
|
|
|
int ltc4150_get_interval();
|
2011-01-31 18:25:20 +01:00
|
|
|
long ltc4150_get_intcount(void);
|
2010-09-22 15:10:42 +02:00
|
|
|
|
|
|
|
#endif /* __LTC4150_H */
|