mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
34 lines
675 B
C
34 lines
675 B
C
/*
|
|
* Copyright 2014 Freie Universität Berlin
|
|
*
|
|
* This file is subject to the terms and conditions of the GNU Lesser
|
|
* General Public License v2.1. See the file LICENSE in the top level
|
|
* directory for more details.
|
|
*/
|
|
|
|
#ifndef __LTC4150_H
|
|
#define __LTC4150_H
|
|
|
|
#include "ltc4150_arch.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
void ltc4150_init(void);
|
|
void ltc4150_start(void);
|
|
void ltc4150_stop(void);
|
|
|
|
double ltc4150_get_current_mA(void);
|
|
double ltc4150_get_total_mAh(void);
|
|
double ltc4150_get_total_Joule(void);
|
|
double ltc4150_get_avg_mA(void);
|
|
int ltc4150_get_interval(void);
|
|
long ltc4150_get_intcount(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* __LTC4150_H */
|