foxBMS - Unit Tests
1.2.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 174 of file database_cfg.h.
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.
DATA_BLOCK_HEADER_s DATA_BLOCK_PACK_VALUES::header |
Data block header
Definition at line 178 of file database_cfg.h.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.