foxBMS - Unit Tests  1.2.1
The foxBMS Unit Tests API Documentation
DATA_BLOCK_PACK_VALUES Struct Reference

#include <database_cfg.h>

Collaboration diagram for DATA_BLOCK_PACK_VALUES:

Data Fields

DATA_BLOCK_HEADER_s header
 
int32_t packCurrent_mA
 
uint8_t invalidPackCurrent
 
int32_t batteryVoltage_mV
 
uint8_t invalidBatteryVoltage
 
int32_t highVoltageBusVoltage_mV
 
uint8_t invalidHvBusVoltage
 
int32_t packPower_W
 
uint8_t invalidPackPower
 
int32_t stringVoltage_mV [BS_NR_OF_STRINGS]
 
uint8_t invalidStringVoltage [BS_NR_OF_STRINGS]
 
int32_t stringCurrent_mA [BS_NR_OF_STRINGS]
 
uint8_t invalidStringCurrent [BS_NR_OF_STRINGS]
 
int32_t stringPower_W [BS_NR_OF_STRINGS]
 
uint8_t invalidStringPower [BS_NR_OF_STRINGS]
 

Detailed Description

data block struct of pack measurement values

Definition at line 174 of file database_cfg.h.

Field Documentation

◆ batteryVoltage_mV

int32_t DATA_BLOCK_PACK_VALUES::batteryVoltage_mV

voltage between negative and positive battery pole, unit: mV

Definition at line 182 of file database_cfg.h.

◆ header

DATA_BLOCK_HEADER_s DATA_BLOCK_PACK_VALUES::header

Data block header

Definition at line 178 of file database_cfg.h.

◆ highVoltageBusVoltage_mV

int32_t DATA_BLOCK_PACK_VALUES::highVoltageBusVoltage_mV

voltage between negative battery pole and after positive main contactor, unit: mV

Definition at line 185 of file database_cfg.h.

◆ invalidBatteryVoltage

uint8_t DATA_BLOCK_PACK_VALUES::invalidBatteryVoltage

bitmask if voltage is valid. 0->valid, 1->invalid

Definition at line 183 of file database_cfg.h.

◆ invalidHvBusVoltage

uint8_t DATA_BLOCK_PACK_VALUES::invalidHvBusVoltage

bitmask if voltage is valid. 0->valid, 1->invalid

Definition at line 186 of file database_cfg.h.

◆ invalidPackCurrent

uint8_t DATA_BLOCK_PACK_VALUES::invalidPackCurrent

bitmask if current is valid. 0->valid, 1->invalid

Definition at line 181 of file database_cfg.h.

◆ invalidPackPower

uint8_t DATA_BLOCK_PACK_VALUES::invalidPackPower

bitmask if power is valid. 0->valid, 1->invalid

Definition at line 188 of file database_cfg.h.

◆ invalidStringCurrent

uint8_t DATA_BLOCK_PACK_VALUES::invalidStringCurrent[BS_NR_OF_STRINGS]

bitmask if currents are valid. 0->valid, 1->invalid

Definition at line 192 of file database_cfg.h.

◆ invalidStringPower

uint8_t DATA_BLOCK_PACK_VALUES::invalidStringPower[BS_NR_OF_STRINGS]

bitmask if power values are valid. 0->valid, 1->invalid

Definition at line 194 of file database_cfg.h.

◆ invalidStringVoltage

uint8_t DATA_BLOCK_PACK_VALUES::invalidStringVoltage[BS_NR_OF_STRINGS]

bitmask if voltages are valid. 0->valid, 1->invalid

Definition at line 190 of file database_cfg.h.

◆ packCurrent_mA

int32_t DATA_BLOCK_PACK_VALUES::packCurrent_mA

current in the whole battery pack, unit: mA

Definition at line 180 of file database_cfg.h.

◆ packPower_W

int32_t DATA_BLOCK_PACK_VALUES::packPower_W

power provided by respectively supplied to the battery pack, unit: W

Definition at line 187 of file database_cfg.h.

◆ stringCurrent_mA

int32_t DATA_BLOCK_PACK_VALUES::stringCurrent_mA[BS_NR_OF_STRINGS]

current in each string, unit: mA

Definition at line 191 of file database_cfg.h.

◆ stringPower_W

int32_t DATA_BLOCK_PACK_VALUES::stringPower_W[BS_NR_OF_STRINGS]

power of each string, unit: W

Definition at line 193 of file database_cfg.h.

◆ stringVoltage_mV

int32_t DATA_BLOCK_PACK_VALUES::stringVoltage_mV[BS_NR_OF_STRINGS]

voltage of each string, unit: mV

Definition at line 189 of file database_cfg.h.


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