foxBMS - Unit Tests
1.3.0
The foxBMS Unit Tests API Documentation
|
#include <database_cfg.h>
data block struct of error flags
Definition at line 325 of file database_cfg.h.
uint8_t DATA_BLOCK_ERRORSTATE_s::afeCellTemperatureError[BS_NR_OF_STRINGS] |
0 -> no error, 1 -> error
Definition at line 339 of file database_cfg.h.
uint8_t DATA_BLOCK_ERRORSTATE_s::afeCellvoltageError[BS_NR_OF_STRINGS] |
0 -> no error, 1 -> error
Definition at line 338 of file database_cfg.h.
uint8_t DATA_BLOCK_ERRORSTATE_s::afeConfigurationError[BS_NR_OF_STRINGS] |
0 -> no error, 1 -> error
Definition at line 337 of file database_cfg.h.
uint8_t DATA_BLOCK_ERRORSTATE_s::baseCellTemperatureMeasurementTimeout |
0 -> no error, 1 -> error
Definition at line 342 of file database_cfg.h.
uint8_t DATA_BLOCK_ERRORSTATE_s::baseCellVoltageMeasurementTimeout |
0 -> no error, 1 -> error
Definition at line 340 of file database_cfg.h.
uint8_t DATA_BLOCK_ERRORSTATE_s::canRxQueueFull |
0 -> no error, 1 -> error
Definition at line 361 of file database_cfg.h.
uint8_t DATA_BLOCK_ERRORSTATE_s::canTiming |
0 -> no error, 1 -> error
Definition at line 360 of file database_cfg.h.
uint8_t DATA_BLOCK_ERRORSTATE_s::canTimingCc[BS_NR_OF_STRINGS] |
0 -> no error, 1 -> error
Definition at line 362 of file database_cfg.h.
uint8_t DATA_BLOCK_ERRORSTATE_s::canTimingEc[BS_NR_OF_STRINGS] |
0 -> no error, 1 -> error
Definition at line 363 of file database_cfg.h.
uint8_t DATA_BLOCK_ERRORSTATE_s::coinCellVoltage |
0 -> no error, 1 -> error
Definition at line 365 of file database_cfg.h.
uint8_t DATA_BLOCK_ERRORSTATE_s::crcError[BS_NR_OF_STRINGS] |
0 -> no error, 1 -> error
Definition at line 334 of file database_cfg.h.
bool DATA_BLOCK_ERRORSTATE_s::criticalLowInsulationResistance |
false -> no critical resistance measured, true -> critical low resistance measured
Definition at line 352 of file database_cfg.h.
uint8_t DATA_BLOCK_ERRORSTATE_s::currentMeasurementError[BS_NR_OF_STRINGS] |
0 -> no error, 1 -> error
Definition at line 345 of file database_cfg.h.
uint8_t DATA_BLOCK_ERRORSTATE_s::currentMeasurementTimeout[BS_NR_OF_STRINGS] |
0 -> no error, 1 -> error
Definition at line 344 of file database_cfg.h.
uint8_t DATA_BLOCK_ERRORSTATE_s::currentOnOpenString[BS_NR_OF_STRINGS] |
0 -> no error, 1 -> error
Definition at line 372 of file database_cfg.h.
uint8_t DATA_BLOCK_ERRORSTATE_s::currentSensor[BS_NR_OF_STRINGS] |
0 -> no error, 1 -> error, not responding
Definition at line 330 of file database_cfg.h.
uint8_t DATA_BLOCK_ERRORSTATE_s::currentSensorPowerTimeout[BS_NR_OF_STRINGS] |
0 -> no error, 1 -> error
Definition at line 348 of file database_cfg.h.
uint8_t DATA_BLOCK_ERRORSTATE_s::currentSensorTimeoutV1[BS_NR_OF_STRINGS] |
0 -> no error, 1 -> error
Definition at line 346 of file database_cfg.h.
uint8_t DATA_BLOCK_ERRORSTATE_s::currentSensorTimeoutV3[BS_NR_OF_STRINGS] |
0 -> no error, 1 -> error
Definition at line 347 of file database_cfg.h.
uint8_t DATA_BLOCK_ERRORSTATE_s::deepDischargeDetected[BS_NR_OF_STRINGS] |
0 -> no error, 1 -> error
Definition at line 371 of file database_cfg.h.
uint8_t DATA_BLOCK_ERRORSTATE_s::framReadCrcError |
0 if read CRC matches with CRC of read data , 1 otherwise
Definition at line 376 of file database_cfg.h.
uint8_t DATA_BLOCK_ERRORSTATE_s::fuseStateCharge[BS_NR_OF_STRINGS] |
0 -> fuse ok, 1 -> fuse tripped
Definition at line 358 of file database_cfg.h.
uint8_t DATA_BLOCK_ERRORSTATE_s::fuseStateNormal[BS_NR_OF_STRINGS] |
0 -> fuse ok, 1 -> fuse tripped
Definition at line 357 of file database_cfg.h.
DATA_BLOCK_HEADER_s DATA_BLOCK_ERRORSTATE_s::header |
Data block header
Definition at line 329 of file database_cfg.h.
uint8_t DATA_BLOCK_ERRORSTATE_s::i2cPexError |
the I2C port expander does not work as expected
Definition at line 375 of file database_cfg.h.
bool DATA_BLOCK_ERRORSTATE_s::insulationGroundFaultDetected |
false -> no insulation fault between HV and chassis detected, true -> insulation fault detected
Definition at line 356 of file database_cfg.h.
bool DATA_BLOCK_ERRORSTATE_s::insulationMeasurementValid |
false -> not valid, true -> valid
Definition at line 350 of file database_cfg.h.
uint8_t DATA_BLOCK_ERRORSTATE_s::interlock |
0 -> no error, 1 -> error
Definition at line 333 of file database_cfg.h.
uint8_t DATA_BLOCK_ERRORSTATE_s::mcuDieTemperature |
0 -> no error, 1 -> error
Definition at line 364 of file database_cfg.h.
uint8_t DATA_BLOCK_ERRORSTATE_s::muxError[BS_NR_OF_STRINGS] |
0 -> no error, 1 -> error
Definition at line 335 of file database_cfg.h.
uint8_t DATA_BLOCK_ERRORSTATE_s::open_wire[BS_NR_OF_STRINGS] |
0 -> no error, 1 -> error
Definition at line 359 of file database_cfg.h.
uint8_t DATA_BLOCK_ERRORSTATE_s::plausibilityCheckCelltemperature[BS_NR_OF_STRINGS] |
0 -> no error, else: error
Definition at line 370 of file database_cfg.h.
uint8_t DATA_BLOCK_ERRORSTATE_s::plausibilityCheckCelltemperatureSpread[BS_NR_OF_STRINGS] |
0 -> no error, 1 -> error
Definition at line 369 of file database_cfg.h.
uint8_t DATA_BLOCK_ERRORSTATE_s::plausibilityCheckCellvoltage[BS_NR_OF_STRINGS] |
0 -> no error, else: error
Definition at line 367 of file database_cfg.h.
uint8_t DATA_BLOCK_ERRORSTATE_s::plausibilityCheckCellvoltageSpread[BS_NR_OF_STRINGS] |
0 -> no error, else: error
Definition at line 368 of file database_cfg.h.
uint8_t DATA_BLOCK_ERRORSTATE_s::plausibilityCheckPackvoltage[BS_NR_OF_STRINGS] |
0 -> no error, else: error
Definition at line 366 of file database_cfg.h.
uint8_t DATA_BLOCK_ERRORSTATE_s::powerMeasurementError[BS_NR_OF_STRINGS] |
0 -> no error, 1 -> error
Definition at line 349 of file database_cfg.h.
uint8_t DATA_BLOCK_ERRORSTATE_s::prechargeContactor[BS_NR_OF_STRINGS] |
0 -> no error, 1 -> error, not responding
Definition at line 332 of file database_cfg.h.
uint8_t DATA_BLOCK_ERRORSTATE_s::redundancy0CellTemperatureMeasurementTimeout |
0 -> no error, 1 -> error
Definition at line 343 of file database_cfg.h.
uint8_t DATA_BLOCK_ERRORSTATE_s::redundancy0CellVoltageMeasurementTimeout |
0 -> no error, 1 -> error
Definition at line 341 of file database_cfg.h.
uint8_t DATA_BLOCK_ERRORSTATE_s::sbcFinState |
0 -> okay, 1 -> error: short-circuit to RSTB
Definition at line 373 of file database_cfg.h.
uint8_t DATA_BLOCK_ERRORSTATE_s::sbcRstbState |
0 -> okay, 1 -> error: RSTB not working
Definition at line 374 of file database_cfg.h.
uint8_t DATA_BLOCK_ERRORSTATE_s::spiError[BS_NR_OF_STRINGS] |
0 -> no error, 1 -> error
Definition at line 336 of file database_cfg.h.
uint8_t DATA_BLOCK_ERRORSTATE_s::stringContactor[BS_NR_OF_STRINGS] |
0 -> no error, 1 -> error, not responding
Definition at line 331 of file database_cfg.h.
bool DATA_BLOCK_ERRORSTATE_s::timingViolation100ms |
timing violation in 100ms task
Definition at line 380 of file database_cfg.h.
bool DATA_BLOCK_ERRORSTATE_s::timingViolation100msAlgo |
timing violation in 100ms algorithm task
Definition at line 381 of file database_cfg.h.
bool DATA_BLOCK_ERRORSTATE_s::timingViolation10ms |
timing violation in 10ms task
Definition at line 379 of file database_cfg.h.
bool DATA_BLOCK_ERRORSTATE_s::timingViolation1ms |
timing violation in 1ms task
Definition at line 378 of file database_cfg.h.
bool DATA_BLOCK_ERRORSTATE_s::timingViolationEngine |
timing violation in engine task
Definition at line 377 of file database_cfg.h.
bool DATA_BLOCK_ERRORSTATE_s::warnableLowInsulationResistance |
false -> no warnable resistance measured, true -> warnable low resistance measured
Definition at line 354 of file database_cfg.h.