Mercurial > public > ostc4
annotate Small_CPU/Inc/batteryCharger.h @ 643:5149cd644fbc
Reimplemented charger status generation (deactivated):
Sometimes the original implementation never reached the state fully charged for unknown reason. The code already contained a function which set the status to fully charger even it was not signaled by the charger (in case voltage is > 4.1V). The new implementation changed the handling of the detection and the OSTC showing the problem now reaches the fully charger status.
As the new implementation is still under test it is deactivated => original implementation is active per default
author | Ideenmodellierer |
---|---|
date | Wed, 24 Mar 2021 22:06:00 +0100 |
parents | 5f11787b4f42 |
children | 1b995079c045 |
rev | line source |
---|---|
38 | 1 /** |
2 ****************************************************************************** | |
3 * @file batteryCharger.h | |
4 * @author heinrichs weikamp gmbh | |
5 * @date 09-Dec-2014 | |
6 * @version V0.0.1 | |
7 * @since 09-Dec-2014 | |
8 * @brief LTC4054 Standalone Linear Li-Ion Battery Charger | |
9 * | |
10 @verbatim | |
11 ============================================================================== | |
12 ##### How to use ##### | |
13 ============================================================================== | |
14 @endverbatim | |
15 ****************************************************************************** | |
16 * @attention | |
17 * | |
18 * <h2><center>© COPYRIGHT(c) 2015 heinrichs weikamp</center></h2> | |
19 * | |
20 ****************************************************************************** | |
21 */ | |
22 | |
23 /* Define to prevent recursive inclusion -------------------------------------*/ | |
24 #ifndef BATTERY_CHARGER_H | |
25 #define BATTERY_CHARGER_H | |
26 | |
27 #ifdef __cplusplus | |
28 extern "C" { | |
29 #endif | |
30 | |
31 /* Includes ------------------------------------------------------------------*/ | |
32 #include <stdint.h> | |
33 | |
34 uint8_t get_charge_status(void); | |
35 | |
36 void init_battery_charger_status(void); | |
37 void ReInit_battery_charger_status_pins(void); | |
38 void DeInit_battery_charger_status_pins(void); | |
643
5149cd644fbc
Reimplemented charger status generation (deactivated):
Ideenmodellierer
parents:
38
diff
changeset
|
39 void battery_charger_get_status_and_contral_battery_gas_gauge(uint8_t cycleTimeBase); |
38 | 40 |
41 #ifdef __cplusplus | |
42 } | |
43 #endif | |
44 | |
45 #endif /* BATTERY_CHARGER_H */ | |
46 | |
47 /************************ (C) COPYRIGHT heinrichs weikamp *****END OF FILE****/ |