foxBMS - Unit Tests  1.2.0
The foxBMS Unit Tests API Documentation
DATA_BLOCK_ERRORSTATE Struct Reference

#include <database_cfg.h>

Collaboration diagram for DATA_BLOCK_ERRORSTATE:

Data Fields

DATA_BLOCK_HEADER_s header
 
uint8_t currentSensor [BS_NR_OF_STRINGS]
 
uint8_t stringContactor [BS_NR_OF_STRINGS]
 
uint8_t prechargeContactor [BS_NR_OF_STRINGS]
 
uint8_t interlock
 
uint8_t crcError [BS_NR_OF_STRINGS]
 
uint8_t muxError [BS_NR_OF_STRINGS]
 
uint8_t spiError [BS_NR_OF_STRINGS]
 
uint8_t afeConfigurationError [BS_NR_OF_STRINGS]
 
uint8_t afeCellvoltageError [BS_NR_OF_STRINGS]
 
uint8_t afeCellTemperatureError [BS_NR_OF_STRINGS]
 
uint8_t baseCellVoltageMeasurementTimeout
 
uint8_t redundancy0CellVoltageMeasurementTimeout
 
uint8_t baseCellTemperatureMeasurementTimeout
 
uint8_t redundancy0CellTemperatureMeasurementTimeout
 
uint8_t currentMeasurementTimeout [BS_NR_OF_STRINGS]
 
uint8_t currentMeasurementError [BS_NR_OF_STRINGS]
 
uint8_t currentSensorTimeoutV1 [BS_NR_OF_STRINGS]
 
uint8_t currentSensorTimeoutV3 [BS_NR_OF_STRINGS]
 
uint8_t currentSensorPowerTimeout [BS_NR_OF_STRINGS]
 
uint8_t powerMeasurementError [BS_NR_OF_STRINGS]
 
uint8_t insulationError
 
uint8_t fuseStateNormal [BS_NR_OF_STRINGS]
 
uint8_t fuseStateCharge [BS_NR_OF_STRINGS]
 
uint8_t open_wire [BS_NR_OF_STRINGS]
 
uint8_t canTiming
 
uint8_t canRxQueueFull
 
uint8_t canTimingCc [BS_NR_OF_STRINGS]
 
uint8_t canTimingEc [BS_NR_OF_STRINGS]
 
uint8_t mcuDieTemperature
 
uint8_t coinCellVoltage
 
uint8_t plausibilityCheckPackvoltage [BS_NR_OF_STRINGS]
 
uint8_t plausibilityCheckCellvoltage [BS_NR_OF_STRINGS]
 
uint8_t plausibilityCheckCellvoltageSpread [BS_NR_OF_STRINGS]
 
uint8_t plausibilityCheckCelltemperatureSpread [BS_NR_OF_STRINGS]
 
uint8_t plausibilityCheckCelltemperature [BS_NR_OF_STRINGS]
 
uint8_t deepDischargeDetected [BS_NR_OF_STRINGS]
 
uint8_t currentOnOpenString [BS_NR_OF_STRINGS]
 
uint8_t sbcFinState
 
uint8_t sbcRstbState
 
uint8_t i2cPexError
 

Detailed Description

data block struct of error flags

Definition at line 310 of file database_cfg.h.

Field Documentation

◆ afeCellTemperatureError

uint8_t DATA_BLOCK_ERRORSTATE::afeCellTemperatureError[BS_NR_OF_STRINGS]

0 -> no error, 1 -> error

Definition at line 324 of file database_cfg.h.

◆ afeCellvoltageError

uint8_t DATA_BLOCK_ERRORSTATE::afeCellvoltageError[BS_NR_OF_STRINGS]

0 -> no error, 1 -> error

Definition at line 323 of file database_cfg.h.

◆ afeConfigurationError

uint8_t DATA_BLOCK_ERRORSTATE::afeConfigurationError[BS_NR_OF_STRINGS]

0 -> no error, 1 -> error

Definition at line 322 of file database_cfg.h.

◆ baseCellTemperatureMeasurementTimeout

uint8_t DATA_BLOCK_ERRORSTATE::baseCellTemperatureMeasurementTimeout

0 -> no error, 1 -> error

Definition at line 327 of file database_cfg.h.

◆ baseCellVoltageMeasurementTimeout

uint8_t DATA_BLOCK_ERRORSTATE::baseCellVoltageMeasurementTimeout

0 -> no error, 1 -> error

Definition at line 325 of file database_cfg.h.

◆ canRxQueueFull

uint8_t DATA_BLOCK_ERRORSTATE::canRxQueueFull

0 -> no error, 1 -> error

Definition at line 340 of file database_cfg.h.

◆ canTiming

uint8_t DATA_BLOCK_ERRORSTATE::canTiming

0 -> no error, 1 -> error

Definition at line 339 of file database_cfg.h.

◆ canTimingCc

uint8_t DATA_BLOCK_ERRORSTATE::canTimingCc[BS_NR_OF_STRINGS]

0 -> no error, 1 -> error

Definition at line 341 of file database_cfg.h.

◆ canTimingEc

uint8_t DATA_BLOCK_ERRORSTATE::canTimingEc[BS_NR_OF_STRINGS]

0 -> no error, 1 -> error

Definition at line 342 of file database_cfg.h.

◆ coinCellVoltage

uint8_t DATA_BLOCK_ERRORSTATE::coinCellVoltage

0 -> no error, 1 -> error

Definition at line 344 of file database_cfg.h.

◆ crcError

uint8_t DATA_BLOCK_ERRORSTATE::crcError[BS_NR_OF_STRINGS]

0 -> no error, 1 -> error

Definition at line 319 of file database_cfg.h.

◆ currentMeasurementError

uint8_t DATA_BLOCK_ERRORSTATE::currentMeasurementError[BS_NR_OF_STRINGS]

0 -> no error, 1 -> error

Definition at line 330 of file database_cfg.h.

◆ currentMeasurementTimeout

uint8_t DATA_BLOCK_ERRORSTATE::currentMeasurementTimeout[BS_NR_OF_STRINGS]

0 -> no error, 1 -> error

Definition at line 329 of file database_cfg.h.

◆ currentOnOpenString

uint8_t DATA_BLOCK_ERRORSTATE::currentOnOpenString[BS_NR_OF_STRINGS]

0 -> no error, 1 -> error

Definition at line 351 of file database_cfg.h.

◆ currentSensor

uint8_t DATA_BLOCK_ERRORSTATE::currentSensor[BS_NR_OF_STRINGS]

0 -> no error, 1 -> error, not responding

Definition at line 315 of file database_cfg.h.

◆ currentSensorPowerTimeout

uint8_t DATA_BLOCK_ERRORSTATE::currentSensorPowerTimeout[BS_NR_OF_STRINGS]

0 -> no error, 1 -> error

Definition at line 333 of file database_cfg.h.

◆ currentSensorTimeoutV1

uint8_t DATA_BLOCK_ERRORSTATE::currentSensorTimeoutV1[BS_NR_OF_STRINGS]

0 -> no error, 1 -> error

Definition at line 331 of file database_cfg.h.

◆ currentSensorTimeoutV3

uint8_t DATA_BLOCK_ERRORSTATE::currentSensorTimeoutV3[BS_NR_OF_STRINGS]

0 -> no error, 1 -> error

Definition at line 332 of file database_cfg.h.

◆ deepDischargeDetected

uint8_t DATA_BLOCK_ERRORSTATE::deepDischargeDetected[BS_NR_OF_STRINGS]

0 -> no error, 1 -> error

Definition at line 350 of file database_cfg.h.

◆ fuseStateCharge

uint8_t DATA_BLOCK_ERRORSTATE::fuseStateCharge[BS_NR_OF_STRINGS]

0 -> fuse ok, 1 -> fuse tripped

Definition at line 337 of file database_cfg.h.

◆ fuseStateNormal

uint8_t DATA_BLOCK_ERRORSTATE::fuseStateNormal[BS_NR_OF_STRINGS]

0 -> fuse ok, 1 -> fuse tripped

Definition at line 336 of file database_cfg.h.

◆ header

DATA_BLOCK_HEADER_s DATA_BLOCK_ERRORSTATE::header

Data block header

Definition at line 314 of file database_cfg.h.

◆ i2cPexError

uint8_t DATA_BLOCK_ERRORSTATE::i2cPexError

the I2C port expander does not work as expected

Definition at line 354 of file database_cfg.h.

◆ insulationError

uint8_t DATA_BLOCK_ERRORSTATE::insulationError

0 -> no error, 1 -> error

Definition at line 335 of file database_cfg.h.

◆ interlock

uint8_t DATA_BLOCK_ERRORSTATE::interlock

0 -> no error, 1 -> error

Definition at line 318 of file database_cfg.h.

◆ mcuDieTemperature

uint8_t DATA_BLOCK_ERRORSTATE::mcuDieTemperature

0 -> no error, 1 -> error

Definition at line 343 of file database_cfg.h.

◆ muxError

uint8_t DATA_BLOCK_ERRORSTATE::muxError[BS_NR_OF_STRINGS]

0 -> no error, 1 -> error

Definition at line 320 of file database_cfg.h.

◆ open_wire

uint8_t DATA_BLOCK_ERRORSTATE::open_wire[BS_NR_OF_STRINGS]

0 -> no error, 1 -> error

Definition at line 338 of file database_cfg.h.

◆ plausibilityCheckCelltemperature

uint8_t DATA_BLOCK_ERRORSTATE::plausibilityCheckCelltemperature[BS_NR_OF_STRINGS]

0 -> no error, else: error

Definition at line 349 of file database_cfg.h.

◆ plausibilityCheckCelltemperatureSpread

uint8_t DATA_BLOCK_ERRORSTATE::plausibilityCheckCelltemperatureSpread[BS_NR_OF_STRINGS]

0 -> no error, 1 -> error

Definition at line 348 of file database_cfg.h.

◆ plausibilityCheckCellvoltage

uint8_t DATA_BLOCK_ERRORSTATE::plausibilityCheckCellvoltage[BS_NR_OF_STRINGS]

0 -> no error, else: error

Definition at line 346 of file database_cfg.h.

◆ plausibilityCheckCellvoltageSpread

uint8_t DATA_BLOCK_ERRORSTATE::plausibilityCheckCellvoltageSpread[BS_NR_OF_STRINGS]

0 -> no error, else: error

Definition at line 347 of file database_cfg.h.

◆ plausibilityCheckPackvoltage

uint8_t DATA_BLOCK_ERRORSTATE::plausibilityCheckPackvoltage[BS_NR_OF_STRINGS]

0 -> no error, else: error

Definition at line 345 of file database_cfg.h.

◆ powerMeasurementError

uint8_t DATA_BLOCK_ERRORSTATE::powerMeasurementError[BS_NR_OF_STRINGS]

0 -> no error, 1 -> error

Definition at line 334 of file database_cfg.h.

◆ prechargeContactor

uint8_t DATA_BLOCK_ERRORSTATE::prechargeContactor[BS_NR_OF_STRINGS]

0 -> no error, 1 -> error, not responding

Definition at line 317 of file database_cfg.h.

◆ redundancy0CellTemperatureMeasurementTimeout

uint8_t DATA_BLOCK_ERRORSTATE::redundancy0CellTemperatureMeasurementTimeout

0 -> no error, 1 -> error

Definition at line 328 of file database_cfg.h.

◆ redundancy0CellVoltageMeasurementTimeout

uint8_t DATA_BLOCK_ERRORSTATE::redundancy0CellVoltageMeasurementTimeout

0 -> no error, 1 -> error

Definition at line 326 of file database_cfg.h.

◆ sbcFinState

uint8_t DATA_BLOCK_ERRORSTATE::sbcFinState

0 -> okay, 1 -> error: short-circuit to RSTB

Definition at line 352 of file database_cfg.h.

◆ sbcRstbState

uint8_t DATA_BLOCK_ERRORSTATE::sbcRstbState

0 -> okay, 1 -> error: RSTB not working

Definition at line 353 of file database_cfg.h.

◆ spiError

uint8_t DATA_BLOCK_ERRORSTATE::spiError[BS_NR_OF_STRINGS]

0 -> no error, 1 -> error

Definition at line 321 of file database_cfg.h.

◆ stringContactor

uint8_t DATA_BLOCK_ERRORSTATE::stringContactor[BS_NR_OF_STRINGS]

0 -> no error, 1 -> error, not responding

Definition at line 316 of file database_cfg.h.


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