Basic SoC estimation
This commit is contained in:
@ -3,9 +3,16 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
extern uint8_t current_soc;
|
||||
extern float current_soc;
|
||||
|
||||
void soc_init();
|
||||
void soc_update();
|
||||
|
||||
typedef struct {
|
||||
uint16_t ocv;
|
||||
float soc;
|
||||
} ocv_soc_pair_t;
|
||||
extern ocv_soc_pair_t OCV_SOC_PAIRS[];
|
||||
float soc_for_ocv(uint16_t ocv);
|
||||
|
||||
#endif // INC_SOC_ESTIMATION_H
|
||||
|
||||
Reference in New Issue
Block a user