Index: firmware/App/Services/FPGA.c =================================================================== diff -u -rbcf9339af8a725054a8c936ae572bb95e2bcd3f0 -rf639bbc47806ddcefdbdce78a377cd87050872e5 --- firmware/App/Services/FPGA.c (.../FPGA.c) (revision bcf9339af8a725054a8c936ae572bb95e2bcd3f0) +++ firmware/App/Services/FPGA.c (.../FPGA.c) (revision f639bbc47806ddcefdbdce78a377cd87050872e5) @@ -210,10 +210,10 @@ U16 fpgaBaroPROMCRC; ///< Reg 440. Barometric sensor PROM CRC U32 fpgaBaroPressure; ///< Reg 442. Barometric sensor pressure value U32 fpgaBaroTemperature; ///< Reg 446. Barometric sensor temperature sensor - U08 fpgaTHDRTDReadCount; ///< Reg 450. THD RTD read count - U08 fpgaTHDRTDErrorCount; ///< Reg 451. THD RTD error count - U32 fpgaTHDReadData0; ///< Reg 452. THD channel 0 read data - U32 fpgaTHDReadData1; ///< Reg 456. THD channel 1 read data + U08 fpgaTHdRTDReadCount; ///< Reg 450. THD RTD read count + U08 fpgaTHdRTDErrorCount; ///< Reg 451. THD RTD error count + U32 fpgaTHdTemp; ///< Reg 452. THD channel 0 read data - temperature sensor + U32 fpgaTHdInternalTemp; ///< Reg 456. THD channel 1 read data - ADC internal temperature sensor U08 fpgaCPiCPoEmstatOutByte; ///< Reg 460. CPi/CPo Emstat out byte U08 fpgaCPiCPoEmstatRxErrCount; ///< Reg 461. CPi/CPo Emstat Rx error count U16 fpgaCPiCPoEmstatTxFIFOCount; ///< Reg 462. CPi/CPo Emstat Tx FIFO count @@ -2210,4 +2210,24 @@ return fpgaSensorReadings.fpgaCPiCPoEmstatRxErrCount; } +U32 getFPGATHdTemp( void ) +{ + return fpgaSensorReadings.fpgaTHdTemp; +} + +U32 getFPGATHdInternalTemp( void ) +{ + return fpgaSensorReadings.fpgaTHdInternalTemp; +} + +U08 getFPGATHdReadCount( void ) +{ + return fpgaSensorReadings.fpgaTHdRTDReadCount; +} + +U08 getFPGATHdErrorCount( void ) +{ + return fpgaSensorReadings.fpgaTHdRTDErrorCount; +} + /**@}*/