comparison Small_CPU/Inc/batteryGasGauge.h @ 38:5f11787b4f42

include in ostc4 repository
author heinrichsweikamp
date Sat, 28 Apr 2018 11:52:34 +0200
parents
children 2defc8cd93ce
comparison
equal deleted inserted replaced
37:ccc45c0e1ea2 38:5f11787b4f42
1 /**
2 ******************************************************************************
3 * @file batteryGasGauge.h
4 * @author heinrichs weikamp gmbh
5 * @version V0.0.1
6 * @date 09-Dec-2014
7 * @brief LTC2942
8 *
9 @verbatim
10 ==============================================================================
11 ##### How to use #####
12 ==============================================================================
13 @endverbatim
14 ******************************************************************************
15 * @attention
16 *
17 * <h2><center>&copy; COPYRIGHT(c) 2014 heinrichs weikamp</center></h2>
18 *
19 ******************************************************************************
20 */
21
22 /* Define to prevent recursive inclusion -------------------------------------*/
23 #ifndef BATTERY_GAS_GAUGE_H
24 #define BATTERY_GAS_GAUGE_H
25
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29
30 /* Includes ------------------------------------------------------------------*/
31
32 void init_battery_gas_gauge(void);
33
34 float get_voltage(void);
35 float get_charge(void);
36
37 void battery_gas_gauge_get_data(void);
38 void battery_gas_gauge_set_charge_full(void);
39 void battery_gas_gauge_set(float percentage);
40
41 #ifdef __cplusplus
42 }
43 #endif
44
45 #endif /* BATTERY_GAS_GAUGE_H */
46
47 /************************ (C) COPYRIGHT heinrichs weikamp *****END OF FILE****/