The foxBMS secondary mcu API documentation

Macros  
#define  BC_TEMPMAX_DISCHARGE_MSL 55 
#define  BC_TEMPMIN_DISCHARGE_MSL 20 /* °C */ 
#define  BC_TEMPMAX_CHARGE_MSL 45 
#define  BC_TEMPMIN_CHARGE_MSL 20 
#define  BC_VOLTMAX_MSL 2650 
#define  BC_VOLT_NOMINAL 2500 
#define  BC_VOLTMIN_MSL 1700 
#define  BC_CURRENTMAX_DISCHARGE_MSL 180000 
#define  BC_CURRENTMAX_CHARGE_MSL 180000 
Contains the configuration settings of the battery cell, e.g. current, voltage and temperature limits.
#define BC_CURRENTMAX_CHARGE_MSL 180000 
Maximum charge current limit. When maximum safety limit (MSL) is violated, error state is requested and contactors will open. When recommended safety limit (RSL) or maximum operating limit (MOL) is violated, the respective flag will be set.
#define BC_CURRENTMAX_DISCHARGE_MSL 180000 
Maximum discharge current limit. When maximum safety limit (MSL) is violated, error state is requested and contactors will open. When recommended safety limit (RSL) or maximum operating limit (MOL) is violated, the respective flag will be set.
#define BC_TEMPMAX_CHARGE_MSL 45 
Maximum temperature limit during charge. When maximum safety limit (MSL) is violated, error state is requested and contactors will open. When recommended safety limit (RSL) or maximum operating limit (MOL) is violated, the respective flag will be set.
#define BC_TEMPMAX_DISCHARGE_MSL 55 
Maximum temperature limit during discharge. When maximum safety limit (MSL) is violated, error state is requested and contactors will open. When recommended safety limit (RSL) or maximum operating limit (MOL) is violated, the respective flag will be set.
#define BC_TEMPMIN_CHARGE_MSL 20 
Minimum temperature limit during discharge. When maximum safety limit (MSL) is violated, error state is requested and contactors will open. When recommended safety limit (RSL) or maximum operating limit (MOL) is violated, the respective flag will be set.
#define BC_TEMPMIN_DISCHARGE_MSL 20 /* °C */ 
Minimum temperature limit during discharge. When maximum safety limit (MSL) is violated, error state is requested and contactors will open. When recommended safety limit (RSL) or maximum operating limit (MOL) is violated, the respective flag will be set.
#define BC_VOLT_NOMINAL 2500 
nominal cell voltage according to datasheet
#define BC_VOLTMAX_MSL 2650 
Maximum cell voltage limit. When maximum safety limit (MSL) is violated, error state is requested and contactors will open. When recommended safety limit (RSL) or maximum operating limit (MOL) is violated, the respective flag will be set.
#define BC_VOLTMIN_MSL 1700 
Minimum cell voltage limit. When maximum safety limit (MSL) is violated, error state is requested and contactors will open. When recommended safety limit (RSL) or maximum operating limit (MOL) is violated, the respective flag will be set.