foxBMS
1.6.0
The foxBMS Battery Management System API Documentation
|
#include <database_cfg.h>
Data Fields | |
DATA_BLOCK_HEADER_s | header |
uint8_t | state |
int32_t | stringVoltage_mV [BS_NR_OF_STRINGS] |
int16_t | cellVoltage_mV [BS_NR_OF_STRINGS][BS_NR_OF_MODULES_PER_STRING][BS_NR_OF_CELL_BLOCKS_PER_MODULE] |
uint64_t | invalidCellVoltage [BS_NR_OF_STRINGS][BS_NR_OF_MODULES_PER_STRING] |
uint16_t | nrValidCellVoltages [BS_NR_OF_STRINGS] |
uint32_t | moduleVoltage_mV [BS_NR_OF_STRINGS][BS_NR_OF_MODULES_PER_STRING] |
bool | validModuleVoltage [BS_NR_OF_STRINGS][BS_NR_OF_MODULES_PER_STRING] |
data block struct of cell voltage
Definition at line 131 of file database_cfg.h.
int16_t DATA_BLOCK_CELL_VOLTAGE_s::cellVoltage_mV[BS_NR_OF_STRINGS][BS_NR_OF_MODULES_PER_STRING][BS_NR_OF_CELL_BLOCKS_PER_MODULE] |
unit: mV
Definition at line 138 of file database_cfg.h.
DATA_BLOCK_HEADER_s DATA_BLOCK_CELL_VOLTAGE_s::header |
Data block header
Definition at line 135 of file database_cfg.h.
uint64_t DATA_BLOCK_CELL_VOLTAGE_s::invalidCellVoltage[BS_NR_OF_STRINGS][BS_NR_OF_MODULES_PER_STRING] |
bitmask if voltages are valid. 0->valid, 1->invalid
Definition at line 141 of file database_cfg.h.
uint32_t DATA_BLOCK_CELL_VOLTAGE_s::moduleVoltage_mV[BS_NR_OF_STRINGS][BS_NR_OF_MODULES_PER_STRING] |
unit: mV
Definition at line 144 of file database_cfg.h.
uint16_t DATA_BLOCK_CELL_VOLTAGE_s::nrValidCellVoltages[BS_NR_OF_STRINGS] |
number of valid voltages
Definition at line 143 of file database_cfg.h.
uint8_t DATA_BLOCK_CELL_VOLTAGE_s::state |
for future use
Definition at line 136 of file database_cfg.h.
int32_t DATA_BLOCK_CELL_VOLTAGE_s::stringVoltage_mV[BS_NR_OF_STRINGS] |
uint: mV
Definition at line 137 of file database_cfg.h.
bool DATA_BLOCK_CELL_VOLTAGE_s::validModuleVoltage[BS_NR_OF_STRINGS][BS_NR_OF_MODULES_PER_STRING] |
0 -> if PEC okay; 1 -> PEC error
Definition at line 145 of file database_cfg.h.