2010-09-22 15:10:42 +02:00
|
|
|
#ifndef __LTC4150_H
|
2013-06-21 22:36:48 +02:00
|
|
|
#define __LTC4150_H
|
2010-09-22 15:10:42 +02:00
|
|
|
|
2013-12-16 17:54:58 +01:00
|
|
|
#include "ltc4150_arch.h"
|
2010-09-22 15:10:42 +02:00
|
|
|
|
2013-02-06 13:20:21 +01:00
|
|
|
void ltc4150_init(void);
|
|
|
|
void ltc4150_start(void);
|
|
|
|
void ltc4150_stop(void);
|
2010-09-22 15:10:42 +02:00
|
|
|
|
2013-02-06 13:20:21 +01:00
|
|
|
double ltc4150_get_current_mA(void);
|
|
|
|
double ltc4150_get_total_mAh(void);
|
2011-03-04 16:46:20 +01:00
|
|
|
double ltc4150_get_total_Joule(void);
|
2013-02-06 13:20:21 +01:00
|
|
|
double ltc4150_get_avg_mA(void);
|
|
|
|
int ltc4150_get_interval(void);
|
2011-01-31 18:25:20 +01:00
|
|
|
long ltc4150_get_intcount(void);
|
2010-09-22 15:10:42 +02:00
|
|
|
|
|
|
|
#endif /* __LTC4150_H */
|