foxBMS  1.6.0
The foxBMS Battery Management System API Documentation
DATA_BLOCK_CURRENT_SENSOR_s Struct Reference

#include <database_cfg.h>

Collaboration diagram for DATA_BLOCK_CURRENT_SENSOR_s:

Data Fields

DATA_BLOCK_HEADER_s header
 
int32_t current_mA [BS_NR_OF_STRINGS]
 
uint8_t invalidCurrentMeasurement [BS_NR_OF_STRINGS]
 
uint8_t newCurrent
 
uint32_t previousTimestampCurrent [BS_NR_OF_STRINGS]
 
uint32_t timestampCurrent [BS_NR_OF_STRINGS]
 
int32_t sensorTemperature_ddegC [BS_NR_OF_STRINGS]
 
uint8_t invalidSensorTemperatureMeasurement [BS_NR_OF_STRINGS]
 
int32_t power_W [BS_NR_OF_STRINGS]
 
uint8_t invalidPowerMeasurement [BS_NR_OF_STRINGS]
 
uint8_t newPower
 
uint32_t previousTimestampPower [BS_NR_OF_STRINGS]
 
uint32_t timestampPower [BS_NR_OF_STRINGS]
 
int32_t currentCounter_As [BS_NR_OF_STRINGS]
 
uint8_t invalidCurrentCountingMeasurement [BS_NR_OF_STRINGS]
 
uint32_t previousTimestampCurrentCounting [BS_NR_OF_STRINGS]
 
uint32_t timestampCurrentCounting [BS_NR_OF_STRINGS]
 
int32_t energyCounter_Wh [BS_NR_OF_STRINGS]
 
uint8_t invalidEnergyCountingMeasurement [BS_NR_OF_STRINGS]
 
uint32_t previousTimestampEnergyCounting [BS_NR_OF_STRINGS]
 
uint32_t timestampEnergyCounting [BS_NR_OF_STRINGS]
 
uint8_t invalidHighVoltageMeasurement [BS_NR_OF_STRINGS][BS_NR_OF_VOLTAGES_FROM_CURRENT_SENSOR]
 
int32_t highVoltage_mV [BS_NR_OF_STRINGS][BS_NR_OF_VOLTAGES_FROM_CURRENT_SENSOR]
 
uint32_t previousTimestampHighVoltage [BS_NR_OF_STRINGS][BS_NR_OF_VOLTAGES_FROM_CURRENT_SENSOR]
 
uint32_t timestampHighVoltage [BS_NR_OF_STRINGS][BS_NR_OF_VOLTAGES_FROM_CURRENT_SENSOR]
 

Detailed Description

data block struct of current measurement

Definition at line 215 of file database_cfg.h.

Field Documentation

◆ current_mA

int32_t DATA_BLOCK_CURRENT_SENSOR_s::current_mA[BS_NR_OF_STRINGS]

unit: mA

Definition at line 220 of file database_cfg.h.

◆ currentCounter_As

int32_t DATA_BLOCK_CURRENT_SENSOR_s::currentCounter_As[BS_NR_OF_STRINGS]

unit: A.s

Definition at line 232 of file database_cfg.h.

◆ energyCounter_Wh

int32_t DATA_BLOCK_CURRENT_SENSOR_s::energyCounter_Wh[BS_NR_OF_STRINGS]

unit: Wh

Definition at line 236 of file database_cfg.h.

◆ header

DATA_BLOCK_HEADER_s DATA_BLOCK_CURRENT_SENSOR_s::header

Data block header

Definition at line 219 of file database_cfg.h.

◆ highVoltage_mV

int32_t DATA_BLOCK_CURRENT_SENSOR_s::highVoltage_mV[BS_NR_OF_STRINGS][BS_NR_OF_VOLTAGES_FROM_CURRENT_SENSOR]

unit: mV

Definition at line 242 of file database_cfg.h.

◆ invalidCurrentCountingMeasurement

uint8_t DATA_BLOCK_CURRENT_SENSOR_s::invalidCurrentCountingMeasurement[BS_NR_OF_STRINGS]

0: measurement valid, 1: measurement invalid

Definition at line 233 of file database_cfg.h.

◆ invalidCurrentMeasurement

uint8_t DATA_BLOCK_CURRENT_SENSOR_s::invalidCurrentMeasurement[BS_NR_OF_STRINGS]

0: measurement valid, 1: measurement invalid

Definition at line 221 of file database_cfg.h.

◆ invalidEnergyCountingMeasurement

uint8_t DATA_BLOCK_CURRENT_SENSOR_s::invalidEnergyCountingMeasurement[BS_NR_OF_STRINGS]

0: measurement valid, 1: measurement invalid

Definition at line 237 of file database_cfg.h.

◆ invalidHighVoltageMeasurement

uint8_t DATA_BLOCK_CURRENT_SENSOR_s::invalidHighVoltageMeasurement[BS_NR_OF_STRINGS][BS_NR_OF_VOLTAGES_FROM_CURRENT_SENSOR]

0: measurement valid, 1: measurement invalid

Definition at line 240 of file database_cfg.h.

◆ invalidPowerMeasurement

uint8_t DATA_BLOCK_CURRENT_SENSOR_s::invalidPowerMeasurement[BS_NR_OF_STRINGS]

0: measurement valid, 1: measurement invalid

Definition at line 228 of file database_cfg.h.

◆ invalidSensorTemperatureMeasurement

uint8_t DATA_BLOCK_CURRENT_SENSOR_s::invalidSensorTemperatureMeasurement[BS_NR_OF_STRINGS]

0: measurement valid, 1: measurement invalid

Definition at line 226 of file database_cfg.h.

◆ newCurrent

uint8_t DATA_BLOCK_CURRENT_SENSOR_s::newCurrent

0: measurement valid, 1: measurement invalid

Definition at line 222 of file database_cfg.h.

◆ newPower

uint8_t DATA_BLOCK_CURRENT_SENSOR_s::newPower

counter that indicates a new power measurement

Definition at line 229 of file database_cfg.h.

◆ power_W

int32_t DATA_BLOCK_CURRENT_SENSOR_s::power_W[BS_NR_OF_STRINGS]

unit: W

Definition at line 227 of file database_cfg.h.

◆ previousTimestampCurrent

uint32_t DATA_BLOCK_CURRENT_SENSOR_s::previousTimestampCurrent[BS_NR_OF_STRINGS]

timestamp of current measurement

Definition at line 223 of file database_cfg.h.

◆ previousTimestampCurrentCounting

uint32_t DATA_BLOCK_CURRENT_SENSOR_s::previousTimestampCurrentCounting[BS_NR_OF_STRINGS]

previous timestamp of CC measurement

Definition at line 234 of file database_cfg.h.

◆ previousTimestampEnergyCounting

uint32_t DATA_BLOCK_CURRENT_SENSOR_s::previousTimestampEnergyCounting[BS_NR_OF_STRINGS]

previous timestamp of EC measurement

Definition at line 238 of file database_cfg.h.

◆ previousTimestampHighVoltage

uint32_t DATA_BLOCK_CURRENT_SENSOR_s::previousTimestampHighVoltage[BS_NR_OF_STRINGS][BS_NR_OF_VOLTAGES_FROM_CURRENT_SENSOR]

previous timestamp of high voltage measurement

Definition at line 243 of file database_cfg.h.

◆ previousTimestampPower

uint32_t DATA_BLOCK_CURRENT_SENSOR_s::previousTimestampPower[BS_NR_OF_STRINGS]

previous timestamp of power measurement

Definition at line 230 of file database_cfg.h.

◆ sensorTemperature_ddegC

int32_t DATA_BLOCK_CURRENT_SENSOR_s::sensorTemperature_ddegC[BS_NR_OF_STRINGS]

unit: 0.1°C

Definition at line 225 of file database_cfg.h.

◆ timestampCurrent

uint32_t DATA_BLOCK_CURRENT_SENSOR_s::timestampCurrent[BS_NR_OF_STRINGS]

timestamp of current measurement

Definition at line 224 of file database_cfg.h.

◆ timestampCurrentCounting

uint32_t DATA_BLOCK_CURRENT_SENSOR_s::timestampCurrentCounting[BS_NR_OF_STRINGS]

timestamp of CC measurement

Definition at line 235 of file database_cfg.h.

◆ timestampEnergyCounting

uint32_t DATA_BLOCK_CURRENT_SENSOR_s::timestampEnergyCounting[BS_NR_OF_STRINGS]

timestamp of EC measurement

Definition at line 239 of file database_cfg.h.

◆ timestampHighVoltage

uint32_t DATA_BLOCK_CURRENT_SENSOR_s::timestampHighVoltage[BS_NR_OF_STRINGS][BS_NR_OF_VOLTAGES_FROM_CURRENT_SENSOR]

timestamp of high voltage measurement

Definition at line 246 of file database_cfg.h.

◆ timestampPower

uint32_t DATA_BLOCK_CURRENT_SENSOR_s::timestampPower[BS_NR_OF_STRINGS]

timestamp of power measurement

Definition at line 231 of file database_cfg.h.


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