Index: firmware/App/Services/FpgaRO.c =================================================================== diff -u -r88185bbc8ba590d1bbbc5642b6c6b94c309bd37b -ra1907314deab28c20945cd41d2d167924daf2c08 --- firmware/App/Services/FpgaRO.c (.../FpgaRO.c) (revision 88185bbc8ba590d1bbbc5642b6c6b94c309bd37b) +++ firmware/App/Services/FpgaRO.c (.../FpgaRO.c) (revision a1907314deab28c20945cd41d2d167924daf2c08) @@ -132,6 +132,8 @@ U08 flowReadCount; ///< Reg 372. Flow sensor read counter. U08 flowErrorCount; ///< Reg 373. Flow sensor error counter. U16 valvePWMEnableReadback; ///< Reg 374. Valve PWM enable read back. + U32 tempTRO1; ///< Reg 376. TRO1 temperature sensor reading. + U32 tempTRO2; ///< Reg 380. TRO2 temperature sensor reading. } FPGA_SENSORS_T; /// Record structure for FPGA continuous priority writes. @@ -729,6 +731,30 @@ /*********************************************************************//** * @brief + * The getFPGATro1Temperature function gets the TRO1 temperature sensor reading. + * @details \b Inputs: fpgaSensorReadings.tempTRO1 + * @details \b Outputs: none + * @return TRO1 temperature sensor reading + *************************************************************************/ +U32 getFPGATro1Temperature( void ) +{ + return fpgaSensorReadings.tempTRO1; +} + +/*********************************************************************//** + * @brief + * The getFPGATro2Temperature function gets the TRO2 temperature sensor reading. + * @details \b Inputs: fpgaSensorReadings.tempTRO2 + * @details \b Outputs: none + * @return TRO2 temperature sensor reading + *************************************************************************/ +U32 getFPGATro2Temperature( void ) +{ + return fpgaSensorReadings.tempTRO2; +} + +/*********************************************************************//** + * @brief * The getFPGAFloaterState function gets the floater level state. * @details \b Inputs: fpgaSensorReadings.levelSwitch * @details \b Outputs: none