55 #ifndef FOXBMS__BAL_CFG_H_
56 #define FOXBMS__BAL_CFG_H_
64 #define BAL_STATEMACH_SHORTTIME_100ms (1u)
68 #define BAL_STATEMACH_LONGTIME_100ms (50u)
71 #define BAL_STATEMACH_BALANCINGTIME_100ms (10u)
74 #define BAL_DEFAULT_THRESHOLD_mV (200)
77 #define BAL_MAXIMUM_THRESHOLD_mV (5000)
80 #define BAL_MINIMUM_THRESHOLD_mV (0)
83 #define BAL_HYSTERESIS_mV (200)
86 #define BAL_LOWER_VOLTAGE_LIMIT_mV (2000)
89 #define BAL_UPPER_TEMPERATURE_LIMIT_ddegC (700)
void BAL_SetBalancingThreshold(int32_t threshold_mV)
set balancing threshold
int32_t BAL_GetBalancingThreshold_mV(void)
get balancing threshold
General macros and definitions for the whole platform.