foxBMS - Unit Tests
1.4.1
The foxBMS Unit Tests API Documentation
|
#include <database_cfg.h>
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] |
data block struct of pack measurement values
Definition at line 183 of file database_cfg.h.
int32_t DATA_BLOCK_PACK_VALUES_s::batteryVoltage_mV |
voltage between negative and positive battery pole, unit: mV
Definition at line 191 of file database_cfg.h.
DATA_BLOCK_HEADER_s DATA_BLOCK_PACK_VALUES_s::header |
Data block header
Definition at line 187 of file database_cfg.h.
int32_t DATA_BLOCK_PACK_VALUES_s::highVoltageBusVoltage_mV |
voltage between negative battery pole and after positive main contactor, unit: mV
Definition at line 194 of file database_cfg.h.
uint8_t DATA_BLOCK_PACK_VALUES_s::invalidBatteryVoltage |
bitmask if voltage is valid. 0->valid, 1->invalid
Definition at line 192 of file database_cfg.h.
uint8_t DATA_BLOCK_PACK_VALUES_s::invalidHvBusVoltage |
bitmask if voltage is valid. 0->valid, 1->invalid
Definition at line 195 of file database_cfg.h.
uint8_t DATA_BLOCK_PACK_VALUES_s::invalidPackCurrent |
bitmask if current is valid. 0->valid, 1->invalid
Definition at line 190 of file database_cfg.h.
uint8_t DATA_BLOCK_PACK_VALUES_s::invalidPackPower |
bitmask if power is valid. 0->valid, 1->invalid
Definition at line 197 of file database_cfg.h.
uint8_t DATA_BLOCK_PACK_VALUES_s::invalidStringCurrent[BS_NR_OF_STRINGS] |
bitmask if currents are valid. 0->valid, 1->invalid
Definition at line 201 of file database_cfg.h.
uint8_t DATA_BLOCK_PACK_VALUES_s::invalidStringPower[BS_NR_OF_STRINGS] |
bitmask if power values are valid. 0->valid, 1->invalid
Definition at line 203 of file database_cfg.h.
uint8_t DATA_BLOCK_PACK_VALUES_s::invalidStringVoltage[BS_NR_OF_STRINGS] |
bitmask if voltages are valid. 0->valid, 1->invalid
Definition at line 199 of file database_cfg.h.
int32_t DATA_BLOCK_PACK_VALUES_s::packCurrent_mA |
current in the whole battery pack, unit: mA
Definition at line 189 of file database_cfg.h.
int32_t DATA_BLOCK_PACK_VALUES_s::packPower_W |
power provided by respectively supplied to the battery pack, unit: W
Definition at line 196 of file database_cfg.h.
int32_t DATA_BLOCK_PACK_VALUES_s::stringCurrent_mA[BS_NR_OF_STRINGS] |
current in each string, unit: mA
Definition at line 200 of file database_cfg.h.
int32_t DATA_BLOCK_PACK_VALUES_s::stringPower_W[BS_NR_OF_STRINGS] |
power of each string, unit: W
Definition at line 202 of file database_cfg.h.
int32_t DATA_BLOCK_PACK_VALUES_s::stringVoltage_mV[BS_NR_OF_STRINGS] |
voltage of each string, unit: mV
Definition at line 198 of file database_cfg.h.