76 uint32_t stringNumber) {
131 uint32_t stringNumber) {
178 #ifdef UNITY_UNIT_TEST
#define BS_NR_OF_STRINGS
Number of parallel strings in the battery pack.
void DIAG_ErrorAfe(DIAG_ID_e diagId, DIAG_EVENT_e event, const DIAG_DATABASE_SHIM_s *const kpkDiagShim, uint32_t stringNumber)
diagnosis callback function for AFE related events
void DIAG_ErrorAfeDriver(DIAG_ID_e diagId, DIAG_EVENT_e event, const DIAG_DATABASE_SHIM_s *const kpkDiagShim, uint32_t stringNumber)
diagnosis callback function for AFE module related events
@ DIAG_ID_AFE_CELL_VOLTAGE_MEAS_ERROR
@ DIAG_ID_AFE_CELL_TEMPERATURE_MEAS_ERROR
@ DIAG_ID_BASE_CELL_TEMPERATURE_MEASUREMENT_TIMEOUT
@ DIAG_ID_AFE_COM_INTEGRITY
@ DIAG_ID_BASE_CELL_VOLTAGE_MEASUREMENT_TIMEOUT
@ DIAG_ID_REDUNDANCY0_CELL_VOLTAGE_MEASUREMENT_TIMEOUT
@ DIAG_ID_REDUNDANCY0_CELL_TEMPERATURE_MEASUREMENT_TIMEOUT
#define FAS_ASSERT(x)
Assertion macro that asserts that x is true.
#define FAS_TRAP
Define that evaluates to essential boolean false thus tripping an assert.
Definition of foxBMS standard types.
#define NULL_PTR
Null pointer.
bool openWireDetectedError[BS_NR_OF_STRINGS]
bool baseCellTemperatureMeasurementTimeoutError
bool redundancy0CellTemperatureMeasurementTimeoutError
bool redundancy0CellVoltageMeasurementTimeoutError
bool afeCommunicationCrcError[BS_NR_OF_STRINGS]
bool afeSlaveMultiplexerError[BS_NR_OF_STRINGS]
bool afeCommunicationSpiError[BS_NR_OF_STRINGS]
bool afeConfigurationError[BS_NR_OF_STRINGS]
bool afeCellVoltageInvalidError[BS_NR_OF_STRINGS]
bool afeCellTemperatureInvalidError[BS_NR_OF_STRINGS]
bool baseCellVoltageMeasurementTimeoutError
DATA_BLOCK_ERROR_STATE_s * pTableError