74 const int16_t cellVoltage_mV,
96 FAS_ASSERT(plausibleMaximumTemperature_ddegC >= plausibleMinimumTemperature_ddegC);
98 if ((celltemperature_ddegC > plausibleMaximumTemperature_ddegC) ||
99 (celltemperature_ddegC < plausibleMinimumTemperature_ddegC)) {
109 #ifdef UNITY_UNIT_TEST
STD_RETURN_TYPE_e AFE_PlausibilityCheckTempMinMax(const int16_t celltemperature_ddegC)
Cell temperature plausibility check.
STD_RETURN_TYPE_e AFE_PlausibilityCheckVoltageMeasurementRange(const int16_t cellVoltage_mV, const AFE_PLAUSIBILITY_VALUES_s plausibleValues)
Cell voltage measurement range plausibility check.
plausibility checks for cell voltage and cell temperatures
#define FAS_ASSERT(x)
Assertion macro that asserts that x is true.
struct definition for plausibility values of an AFE
const int16_t minimumPlausibleVoltage_mV
const int16_t maximumPlausibleVoltage_mV
Temperature Sensor Interface on Slave Unit driver header.
int16_t TSI_GetMaximumPlausibleTemperature(void)
Return the maximum plausible temperature.
int16_t TSI_GetMinimumPlausibleTemperature(void)
Return the minimum plausible temperature.