foxBMS - Unit Tests  1.4.0
The foxBMS Unit Tests API Documentation
DATA_BLOCK_ERRORSTATE_s Struct Reference

#include <database_cfg.h>

Collaboration diagram for DATA_BLOCK_ERRORSTATE_s:

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]
 
bool insulationMeasurementValid
 
bool criticalLowInsulationResistance
 
bool warnableLowInsulationResistance
 
bool insulationGroundFaultDetected
 
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
 
uint8_t framReadCrcError
 
bool timingViolationEngine
 
bool timingViolation1ms
 
bool timingViolation10ms
 
bool timingViolation100ms
 
bool timingViolation100msAlgo
 

Detailed Description

data block struct of error flags

Definition at line 325 of file database_cfg.h.

Field Documentation

◆ afeCellTemperatureError

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.

◆ afeCellVoltageError

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.

◆ afeConfigurationError

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.

◆ baseCellTemperatureMeasurementTimeout

uint8_t DATA_BLOCK_ERRORSTATE_s::baseCellTemperatureMeasurementTimeout

0 -> no error, 1 -> error

Definition at line 342 of file database_cfg.h.

◆ baseCellVoltageMeasurementTimeout

uint8_t DATA_BLOCK_ERRORSTATE_s::baseCellVoltageMeasurementTimeout

0 -> no error, 1 -> error

Definition at line 340 of file database_cfg.h.

◆ canRxQueueFull

uint8_t DATA_BLOCK_ERRORSTATE_s::canRxQueueFull

0 -> no error, 1 -> error

Definition at line 361 of file database_cfg.h.

◆ canTiming

uint8_t DATA_BLOCK_ERRORSTATE_s::canTiming

0 -> no error, 1 -> error

Definition at line 360 of file database_cfg.h.

◆ canTimingCc

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.

◆ canTimingEc

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.

◆ coinCellVoltage

uint8_t DATA_BLOCK_ERRORSTATE_s::coinCellVoltage

0 -> no error, 1 -> error

Definition at line 365 of file database_cfg.h.

◆ crcError

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.

◆ criticalLowInsulationResistance

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.

◆ currentMeasurementError

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.

◆ currentMeasurementTimeout

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.

◆ currentOnOpenString

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.

◆ currentSensor

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.

◆ currentSensorPowerTimeout

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.

◆ currentSensorTimeoutV1

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.

◆ currentSensorTimeoutV3

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.

◆ deepDischargeDetected

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.

◆ framReadCrcError

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.

◆ fuseStateCharge

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.

◆ fuseStateNormal

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.

◆ header

DATA_BLOCK_HEADER_s DATA_BLOCK_ERRORSTATE_s::header

Data block header

Definition at line 329 of file database_cfg.h.

◆ i2cPexError

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.

◆ insulationGroundFaultDetected

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.

◆ insulationMeasurementValid

bool DATA_BLOCK_ERRORSTATE_s::insulationMeasurementValid

false -> not valid, true -> valid

Definition at line 350 of file database_cfg.h.

◆ interlock

uint8_t DATA_BLOCK_ERRORSTATE_s::interlock

0 -> no error, 1 -> error

Definition at line 333 of file database_cfg.h.

◆ mcuDieTemperature

uint8_t DATA_BLOCK_ERRORSTATE_s::mcuDieTemperature

0 -> no error, 1 -> error

Definition at line 364 of file database_cfg.h.

◆ muxError

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.

◆ open_wire

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.

◆ plausibilityCheckCelltemperature

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.

◆ plausibilityCheckCelltemperatureSpread

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.

◆ plausibilityCheckCellVoltage

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.

◆ plausibilityCheckCellVoltageSpread

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.

◆ plausibilityCheckPackvoltage

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.

◆ powerMeasurementError

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.

◆ prechargeContactor

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.

◆ redundancy0CellTemperatureMeasurementTimeout

uint8_t DATA_BLOCK_ERRORSTATE_s::redundancy0CellTemperatureMeasurementTimeout

0 -> no error, 1 -> error

Definition at line 343 of file database_cfg.h.

◆ redundancy0CellVoltageMeasurementTimeout

uint8_t DATA_BLOCK_ERRORSTATE_s::redundancy0CellVoltageMeasurementTimeout

0 -> no error, 1 -> error

Definition at line 341 of file database_cfg.h.

◆ sbcFinState

uint8_t DATA_BLOCK_ERRORSTATE_s::sbcFinState

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

Definition at line 373 of file database_cfg.h.

◆ sbcRstbState

uint8_t DATA_BLOCK_ERRORSTATE_s::sbcRstbState

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

Definition at line 374 of file database_cfg.h.

◆ spiError

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.

◆ stringContactor

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.

◆ timingViolation100ms

bool DATA_BLOCK_ERRORSTATE_s::timingViolation100ms

timing violation in 100ms task

Definition at line 380 of file database_cfg.h.

◆ timingViolation100msAlgo

bool DATA_BLOCK_ERRORSTATE_s::timingViolation100msAlgo

timing violation in 100ms algorithm task

Definition at line 381 of file database_cfg.h.

◆ timingViolation10ms

bool DATA_BLOCK_ERRORSTATE_s::timingViolation10ms

timing violation in 10ms task

Definition at line 379 of file database_cfg.h.

◆ timingViolation1ms

bool DATA_BLOCK_ERRORSTATE_s::timingViolation1ms

timing violation in 1ms task

Definition at line 378 of file database_cfg.h.

◆ timingViolationEngine

bool DATA_BLOCK_ERRORSTATE_s::timingViolationEngine

timing violation in engine task

Definition at line 377 of file database_cfg.h.

◆ warnableLowInsulationResistance

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.


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