Index: firmware/App/Services/FPGA.c =================================================================== diff -u -r61fc45d7a43557312d6abd00a6b01e6823b44f04 -rcff72ec53660ec3ff6775c0508e3c721240ffba2 --- firmware/App/Services/FPGA.c (.../FPGA.c) (revision 61fc45d7a43557312d6abd00a6b01e6823b44f04) +++ firmware/App/Services/FPGA.c (.../FPGA.c) (revision cff72ec53660ec3ff6775c0508e3c721240ffba2) @@ -179,7 +179,7 @@ U08 fpgaCPiReadCnt; ///< Reg 372. CPi conductivity sensor read count U08 fpgaCPiErrorCnt; ///< Reg 373. CPi conductivity sensor error count U08 fpgaCP1CP2Fault; ///< Reg 374. Concentrate pump fault register for CP1 and CP2 - U08 fpgaReserved1; ///< Reg 375. Reserved + U08 fpgaHWConfigReg; ///< Reg 375. Hardware configuration register (i.e. BETA or DVT) U16 fpgaValveStates; ///< Reg 376. Valves states U16 fpgaFanIn1Pulse; ///< Reg 378. Fan inlet 1 pulse time in 2.5 us resolution @@ -2151,6 +2151,19 @@ /*********************************************************************//** * @brief + * The getFPGAHWConfiguration function gets the FPGA hardware configuration + * such as BETA or DVT. + * @details Inputs: fpgaSensorReadings + * @details Outputs: none + * @return hardware configuration + *************************************************************************/ +U08 getFPGAHWConfiguration( void ) +{ + return fpgaSensorReadings.fpgaHWConfigReg; +} + +/*********************************************************************//** + * @brief * The getFPGABaroReadCount function gets the FPGA barometric sensor read count. * @details Inputs: fpgaSensorReadings * @details Outputs: none