foxBMS - Unit Tests  1.6.0
The foxBMS Unit Tests API Documentation
SOC_STATE_s Struct Reference

Data Fields

bool socInitialized
 
bool sensorCcUsed [BS_NR_OF_STRINGS]
 
float_t ccScalingAverage [BS_NR_OF_STRINGS]
 
float_t ccScalingMinimum [BS_NR_OF_STRINGS]
 
float_t 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 72 of file soc_counting.c.

Field Documentation

◆ ccScalingAverage

float_t SOC_STATE_s::ccScalingAverage[BS_NR_OF_STRINGS]

current sensor offset scaling for average SOC

Definition at line 75 of file soc_counting.c.

◆ ccScalingMaximum

float_t SOC_STATE_s::ccScalingMaximum[BS_NR_OF_STRINGS]

current sensor offset scaling value for maximum SOC

Definition at line 77 of file soc_counting.c.

◆ ccScalingMinimum

float_t SOC_STATE_s::ccScalingMinimum[BS_NR_OF_STRINGS]

current sensor offset scaling value for minimum SOC

Definition at line 76 of file soc_counting.c.

◆ previousTimestamp

uint32_t SOC_STATE_s::previousTimestamp[BS_NR_OF_STRINGS]

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

Definition at line 78 of file soc_counting.c.

◆ sensorCcUsed

bool SOC_STATE_s::sensorCcUsed[BS_NR_OF_STRINGS]

bool if coulomb counting functionality from current sensor is used

Definition at line 74 of file soc_counting.c.

◆ socInitialized

bool SOC_STATE_s::socInitialized

true if the initialization has passed, false otherwise

Definition at line 73 of file soc_counting.c.


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