55 #ifndef FOXBMS__BAL_CFG_H_
56 #define FOXBMS__BAL_CFG_H_
65 #define BAL_STATEMACH_SHORTTIME_100ms (1u)
69 #define BAL_STATEMACH_LONGTIME_100ms (50u)
72 #define BAL_STATEMACH_BALANCINGTIME_100ms (10u)
75 #define BAL_DEFAULT_THRESHOLD_mV (200)
78 #define BAL_MAXIMUM_THRESHOLD_mV (5000)
81 #define BAL_MINIMUM_THRESHOLD_mV (0)
84 #define BAL_HYSTERESIS_mV (200)
87 #define BAL_LOWER_VOLTAGE_LIMIT_mV (2000)
90 #define BAL_UPPER_TEMPERATURE_LIMIT_ddegC (700)
108 #ifdef UNITY_UNIT_TEST
void BAL_SetBalancingThreshold(int32_t threshold_mV)
set balancing threshold
int32_t BAL_GetBalancingThreshold_mV(void)
get balancing threshold