71 const int16_t cellvoltage_mV,
93 FAS_ASSERT(plausibleMaximumTemperature_ddegC >= plausibleMinimumTemperature_ddegC);
95 if ((celltemperature_ddegC > plausibleMaximumTemperature_ddegC) ||
96 (celltemperature_ddegC < plausibleMinimumTemperature_ddegC)) {
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.
enum STD_RETURN_TYPE STD_RETURN_TYPE_e
struct definition for plausibility values of an AFE
const int16_t maximumPlausibleVoltage_mV
const int16_t minimumPlausibleVoltage_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.