76 uint32_t stringNumber) {
110 uint32_t stringNumber) {
144 uint32_t stringNumber) {
189 #ifdef UNITY_UNIT_TEST
#define BS_NR_OF_STRINGS
Number of parallel strings in the battery pack.
void DIAG_ErrorUndervoltage(DIAG_ID_e diagId, DIAG_EVENT_e event, const DIAG_DATABASE_SHIM_s *const kpkDiagShim, uint32_t stringNumber)
diagnosis callback function for undervoltage events
void DIAG_ErrorOvervoltage(DIAG_ID_e diagId, DIAG_EVENT_e event, const DIAG_DATABASE_SHIM_s *const kpkDiagShim, uint32_t stringNumber)
diagnosis callback function for overvoltage events
void DIAG_ErrorHighVoltageMeasurement(DIAG_ID_e diagId, DIAG_EVENT_e event, const DIAG_DATABASE_SHIM_s *const kpkDiagShim, uint32_t stringNumber)
diagnosis callback function for current sensor related events
@ DIAG_ID_CELL_VOLTAGE_UNDERVOLTAGE_MSL
@ DIAG_ID_CURRENT_SENSOR_V2_MEASUREMENT_TIMEOUT
@ DIAG_ID_CELL_VOLTAGE_UNDERVOLTAGE_RSL
@ DIAG_ID_CELL_VOLTAGE_OVERVOLTAGE_MSL
@ DIAG_ID_CELL_VOLTAGE_OVERVOLTAGE_RSL
@ DIAG_ID_CURRENT_SENSOR_V1_MEASUREMENT_TIMEOUT
@ DIAG_ID_CURRENT_SENSOR_V3_MEASUREMENT_TIMEOUT
@ DIAG_ID_CELL_VOLTAGE_UNDERVOLTAGE_MOL
@ DIAG_ID_CELL_VOLTAGE_OVERVOLTAGE_MOL
#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 currentSensorVoltage2TimeoutError[BS_NR_OF_STRINGS]
bool currentSensorVoltage3TimeoutError[BS_NR_OF_STRINGS]
bool currentSensorVoltage1TimeoutError[BS_NR_OF_STRINGS]
uint8_t underVoltage[BS_NR_OF_STRINGS]
uint8_t overVoltage[BS_NR_OF_STRINGS]
uint8_t underVoltage[BS_NR_OF_STRINGS]
uint8_t overVoltage[BS_NR_OF_STRINGS]
uint8_t underVoltage[BS_NR_OF_STRINGS]
uint8_t overVoltage[BS_NR_OF_STRINGS]
DATA_BLOCK_MOL_FLAG_s * pTableMol
DATA_BLOCK_RSL_FLAG_s * pTableRsl
DATA_BLOCK_MSL_FLAG_s * pTableMsl
DATA_BLOCK_ERROR_STATE_s * pTableError