Index: firmware/App/Controllers/TemperatureSensors.h =================================================================== diff -u -ra4669c80291e85fa5ce17d77ebcfd0c882831202 -rb3e53e10da033307b084161e6008fa5ed7710ccf --- firmware/App/Controllers/TemperatureSensors.h (.../TemperatureSensors.h) (revision a4669c80291e85fa5ce17d77ebcfd0c882831202) +++ firmware/App/Controllers/TemperatureSensors.h (.../TemperatureSensors.h) (revision b3e53e10da033307b084161e6008fa5ed7710ccf) @@ -7,8 +7,8 @@ * * @file TemperatureSensors.h * -* @author (last) Dara Navaei -* @date (last) 12-Jul-2022 +* @author (last) Dong Nguyen +* @date (last) 27-Sep-2022 * * @author (original) Dara Navaei * @date (original) 08-Apr-2020 @@ -59,36 +59,6 @@ NUM_OF_TEMPERATURE_SENSORS ///< Number of temperature sensors } TEMPERATURE_SENSORS_T; -/// Temperature sensors data. -typedef struct -{ - F32 inletPrimaryHeater; ///< Inlet primary heater temperature sensor - F32 heatDisinfect; ///< Heat Disinfect temperature sensor - F32 outletPrimaryHeater; ///< Outlet primary heater temperature sensor - F32 conductivitySensor1; ///< Conductivity sensor 1 temperature sensor - F32 conductivitySensor2; ///< Conductivity sensor 2 temperature sensor - F32 outletRedundant; ///< Outlet redundant temperature sensor - F32 inletDialysate; ///< Inlet dialysate temperature sensor - F32 primaryHeaterThermocouple; ///< Primary heaters thermocouple sensor - F32 trimmerHeaterThermocouple; ///< Trimmer heater thermocouple sensor - F32 priamyHeaterColdjunction; ///< Primary heaters cold junction temperature sensor - F32 trimmerHeaterColdjunction; ///< Trimmer heater cold junction temperature sensor - F32 primaryHeaterInternal; ///< Primary heaters internal temperature (calculated from thermocouple and cold junction) - F32 trimmerHeaterInternal; ///< Trimmer heater internal temperature (calculated from thermocouple and cold junction) - F32 fpgaBoard; ///< FPGA board temperature sensor - F32 loadCellA1B1; ///< Load cell A1/B1 temperature sensor - F32 loadCellA2B2; ///< Load cell A2/B2 temperature sensor - F32 internalTHDORTD; ///< THDo RTD channel temperature sensor - F32 internalTDIRTD; ///< TDI RTD channel temperature sensor - F32 internalCondSnsrTemp; ///< Conductivity Sensor internal temperature sensor - U32 primaryThermoCoupleRaw; ///< Primary heaters thermocouple raw ADC value // TODO remove later? - U32 primaryColdjuncRaw; ///< Primary heaters cold junction raw ADC value // TODO remove later? - U32 trimmerThermoCoupleRaw; ///< Trimmer heater thermocouple raw ADC value // TODO remove later? - U32 trimmerColdjuncRaw; ///< Trimmer heater cold junction raw ADC value // TODO remove later? - S32 cond1Raw; ///< Conductivity sensor 1 raw temperature ADC value // TODO remove later? - S32 cond2Raw; ///< Conductivity sensor 2 raw temperature ADC value // TODO remove later? -} TEMPERATURE_SENSORS_DATA_T; - // ********** public function prototypes ********** void initTemperatureSensors( void );