foxBMS  1.2.0
The foxBMS Battery Management System API Documentation
SOC_STATE Struct Reference

Data Fields

bool socInitialized
 
bool sensorCcUsed [BS_NR_OF_STRINGS]
 
float ccScalingAverage [BS_NR_OF_STRINGS]
 
float ccScalingMinimum [BS_NR_OF_STRINGS]
 
float ccScalingMaximum [BS_NR_OF_STRINGS]
 
uint32_t previousTimestamp [BS_NR_OF_STRINGS]
 

Detailed Description

This structure contains all the variables relevant for the SOX

Definition at line 64 of file soc_counting.c.

Field Documentation

◆ ccScalingAverage

float SOC_STATE::ccScalingAverage[BS_NR_OF_STRINGS]

current sensor offset scaling for average SOC

Definition at line 67 of file soc_counting.c.

◆ ccScalingMaximum

float SOC_STATE::ccScalingMaximum[BS_NR_OF_STRINGS]

current sensor offset scaling value for maximum SOC

Definition at line 69 of file soc_counting.c.

◆ ccScalingMinimum

float SOC_STATE::ccScalingMinimum[BS_NR_OF_STRINGS]

current sensor offset scaling value for minimum SOC

Definition at line 68 of file soc_counting.c.

◆ previousTimestamp

uint32_t SOC_STATE::previousTimestamp[BS_NR_OF_STRINGS]

timestamp buffer to check if current/CC data has been updated

Definition at line 70 of file soc_counting.c.

◆ sensorCcUsed

bool SOC_STATE::sensorCcUsed[BS_NR_OF_STRINGS]

bool if coulomb counting functionality from current sensor is used

Definition at line 66 of file soc_counting.c.

◆ socInitialized

bool SOC_STATE::socInitialized

true if the initialization has passed, false otherwise

Definition at line 65 of file soc_counting.c.


The documentation for this struct was generated from the following file: