foxBMS - Unit Tests  1.3.0
The foxBMS Unit Tests API Documentation
SOC_STATE_s 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 65 of file soc_counting.c.

Field Documentation

◆ ccScalingAverage

float SOC_STATE_s::ccScalingAverage[BS_NR_OF_STRINGS]

current sensor offset scaling for average SOC

Definition at line 68 of file soc_counting.c.

◆ ccScalingMaximum

float SOC_STATE_s::ccScalingMaximum[BS_NR_OF_STRINGS]

current sensor offset scaling value for maximum SOC

Definition at line 70 of file soc_counting.c.

◆ ccScalingMinimum

float SOC_STATE_s::ccScalingMinimum[BS_NR_OF_STRINGS]

current sensor offset scaling value for minimum SOC

Definition at line 69 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 71 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 67 of file soc_counting.c.

◆ socInitialized

bool SOC_STATE_s::socInitialized

true if the initialization has passed, false otherwise

Definition at line 66 of file soc_counting.c.


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