78 int32_t packVoltage_mV = 0;
79 int32_t highVoltage_mV = 0;
84 int32_t packVoltage_mV = INT32_MAX;
85 int32_t highVoltage_mV = INT32_MAX;
90 int32_t packVoltage_mV = 0;
96 int32_t packVoltage_mV = 0;
102 int32_t packVoltage_mV = 0;
108 int32_t packVoltage_mV = 4242;
109 int32_t highVoltage_mV = 4242;
114 int32_t packVoltage_mV = 0;
115 int32_t highVoltage_mV = INT32_MAX;
121 int32_t highVoltage_mV = INT32_MAX;
127 int32_t highVoltage_mV = INT32_MAX;
132 int32_t packVoltage_mV = INT32_MAX;
133 int32_t highVoltage_mV = INT32_MAX;
@ DATA_BLOCK_ID_CELL_VOLTAGE
@ DATA_BLOCK_ID_CURRENT_SENSOR
STD_RETURN_TYPE_e PL_CheckStringVoltage(int32_t voltageMic_mV, int32_t voltageCurrentSensor_mV)
Pack voltage plausibility check between LTC and current sensor values.
plausibility checks for cell voltage and cell temperatures
#define PL_STRING_VOLTAGE_TOLERANCE_mV
Maximum difference between pack voltage measurement from Measurement IC and current sensor.
DATA_BLOCK_HEADER_s header
DATA_BLOCK_HEADER_s header
void testCheckPackVoltagecellVoltageandcurrentSensorDifferenceEqualsToleranceMinusOne(void)
void testCheckPackVoltagecellVoltageandcurrentSensorDifferenceEqualValue(void)
void testCheckPackVoltagecellVoltageandcurrentSensorDifferenceEqualsTolerance(void)
void testCheckPackVoltagecellVoltageandcurrentSensorDifferenceINT32MaxPlusTooMuch(void)
static DATA_BLOCK_CURRENT_SENSOR_s currentSensor
void testCheckPackVoltagecellVoltageandcurrentSensorDifferenceINT32Max(void)
void testCheckPackVoltagecellVoltageandcurrentSensorDifferenceINT32MaxMinus(void)
void testCheckPackVoltagecellVoltageandcurrentSensorDifferenceINT32MaxPlus(void)
static DATA_BLOCK_CELL_VOLTAGE_s cellVoltage
void testCheckPackVoltagecellVoltageandcurrentSensorBothMaximum(void)
void testCheckPackVoltagecellVoltageandcurrentSensorDifferenceEqualsTolerancePlusOne(void)
void testCheckPackVoltagecellVoltageandcurrentSensorBothZero(void)