Index: firmware/App/Services/FpgaDD.c =================================================================== diff -u -r4062a59e300e6e886a0aca222c2cc26a57aef783 -r82b841cdb65ac335475e02841b7b568d1f5c77b1 --- firmware/App/Services/FpgaDD.c (.../FpgaDD.c) (revision 4062a59e300e6e886a0aca222c2cc26a57aef783) +++ firmware/App/Services/FpgaDD.c (.../FpgaDD.c) (revision 82b841cdb65ac335475e02841b7b568d1f5c77b1) @@ -187,55 +187,55 @@ U16 fpgaD76PumpStepCountStatus; ///< Reg 616. UF pump revolution down count status U08 fpgaD76PumpFault; ///< Reg 618: UF pump fault U08 fpga_UnUsed_4; ///< Reg 619: Not used - S16 pressureP46; ///< Reg 620. P46 pressure data. - U16 temperatureP46; ///< Reg 622. P46 temperature data. - S16 pressureM3; ///< Reg 624. M3 pressure data. - U16 temperatureM3; ///< Reg 626. M3 temperature data. - S16 pressureP8; ///< Reg 628. P8 pressure data. - U16 temperatureP8; ///< Reg 630. P8 temperature data. - S16 pressureP13; ///< Reg 632. P13 pressure data. - U16 temperatureP13; ///< Reg 634. P13 temperature data. - S16 pressureP17; ///< Reg 636. P17 pressure data. - U16 temperatureP17; ///< Reg 638. P17 temperature data. - U16 p40PumpTachCount; ///< Reg 640. P40 pump tachometer counter. - U08 p25LevelSwitch; ///< Reg 642. P25 level switch. - U08 fpga_UnUsed_5; ///< Reg 643. Reserved. - U16 flowRateP7; ///< Reg 644. P7 flow sensor rate. - U16 flowTempP7; ///< Reg 646. P7 flow sensor temperature. - U16 p12PumpTachCount; ///< Reg 648. P12 pump tachometer counter. - U16 d79SpeedPulseWidth; ///< Reg 650. D79 pusle width feedback. - U16 flowIntTempP7; ///< Reg 652. P7 flow sensor internal temperature. - U08 valveIOControlReadback; ///< Reg 654. IO Valve control bits read back. - U08 valveFPControlReadback; ///< Reg 655. FP Valve control enable read back. - U08 valveIOPWMEnableReadback; ///< Reg 656. IO Valve PWM enable read back. - U08 valveFPPWMEnableReadback; ///< Reg 657. FP Valve PWM enable read back. - U16 p12PumpPWMReadback; ///< Reg 658. P12 pump PWM read back. - U16 p40PumpPWMReadback; ///< Reg 660. P40 pump PWM read back. - U08 p7flowReadCount; ///< Reg 662. P7 Flow sensor read counter. - U08 p7flowErrorCount; ///< Reg 663. P7 Flow sensor error counter. - U16 fpgaD87PresPressure; ///< Reg 664. D87 MPM pressure sensor RAW pressure data - U16 fpgaD87PresTemp; ///< Reg 666. D87 MPM pressure sensor RAW temperature data - U32 fpgaD99Temp; ///< Reg 668. D99 temperature sensor - U32 fpga_UnUsed_6; ///< Reg 672. Reserved. - U32 fpga_UnUsed_7; ///< Reg 676. Reserved. - U08 ad7124errcnt; ///< Reg 680. Counter which increments when an invalid transaction happen between FPGA and AD7124. - U08 ad7124readcnt; ///< Reg 681. Counter which increments when a valid transaction happens between FPGA and AD7124. - U16 flowRateP16; ///< Reg 682. P16 flow sensor rate. - U16 flowTempP16; ///< Reg 684. P16 flow sensor temperature. - U16 flowIntTempP16; ///< Reg 686. P16 flow sensor internal temperature. - U08 p16flowReadCount; ///< Reg 688. P16 Flow sensor read counter. - U08 p16flowErrorCount; ///< Reg 689. P16 Flow sensor error counter. - U32 d11HallSense; ///< Reg 690. D11 Pump hall sensor optical sensor interface pulse width. - U32 d10HallSense; ///< Reg 694. D10 Pump hall sensor optical sensor interface pulse width. - U32 d76HallSense; ///< Reg 698. D76 Pump hall sensor optical sensor interface pulse width. - U32 d16CondCalData; ///< Reg 702. D16 Cal Word - Holds current word being read from cal memory. - U32 d16CondCond; ///< Reg 706. D16 Conductivity Measurement. - U32 d16CondTemp; ///< Reg 710. D16 Temperature Measurement. - U08 d16CondCondReadCount; ///< Reg 714. D16 Conductivity successful read count. - U08 d16CondCondErrorCount; ///< Reg 715. D16 Conductivity unsuccessful error count. - U08 d16CondTempReadCount; ///< Reg 716. D16 Temperature successful read count. - U08 d16CondTempErrorCount; ///< Reg 717. D16 Temperature unsuccessful error count. - U08 d16CondMemCounter; ///< Reg 718. D16 Cal memory counter that keeps track of which cal word. + S16 pressureP46; ///< Reg 620. P46 pressure data. + U16 temperatureP46; ///< Reg 622. P46 temperature data. + S16 pressureM3; ///< Reg 624. M3 pressure data. + U16 temperatureM3; ///< Reg 626. M3 temperature data. + S16 pressureP8; ///< Reg 628. P8 pressure data. + U16 temperatureP8; ///< Reg 630. P8 temperature data. + S16 pressureP13; ///< Reg 632. P13 pressure data. + U16 temperatureP13; ///< Reg 634. P13 temperature data. + S16 pressureP17; ///< Reg 636. P17 pressure data. + U16 temperatureP17; ///< Reg 638. P17 temperature data. + U16 p40PumpTachCount; ///< Reg 640. P40 pump tachometer counter. + U08 p25LevelSwitch; ///< Reg 642. P25 level switch. + U08 fpga_UnUsed_5; ///< Reg 643. Reserved. + U16 flowRateP7; ///< Reg 644. P7 flow sensor rate. + U16 flowTempP7; ///< Reg 646. P7 flow sensor temperature. + U16 p12PumpTachCount; ///< Reg 648. P12 pump tachometer counter. + U16 d79SpeedPulseWidth; ///< Reg 650. D79 pusle width feedback. + U16 flowIntTempP7; ///< Reg 652. P7 flow sensor internal temperature. + U08 valveIOControlReadback; ///< Reg 654. IO Valve control bits read back. + U08 valveFPControlReadback; ///< Reg 655. FP Valve control enable read back. + U08 valveIOPWMEnableReadback; ///< Reg 656. IO Valve PWM enable read back. + U08 valveFPPWMEnableReadback; ///< Reg 657. FP Valve PWM enable read back. + U16 p12PumpPWMReadback; ///< Reg 658. P12 pump PWM read back. + U16 p40PumpPWMReadback; ///< Reg 660. P40 pump PWM read back. + U08 p7flowReadCount; ///< Reg 662. P7 Flow sensor read counter. + U08 p7flowErrorCount; ///< Reg 663. P7 Flow sensor error counter. + U16 fpgaD87PresPressure; ///< Reg 664. D87 MPM pressure sensor RAW pressure data + U16 fpgaD87PresTemp; ///< Reg 666. D87 MPM pressure sensor RAW temperature data + U32 fpgaD99Temp; ///< Reg 668. D99 temperature sensor + U32 fpga_UnUsed_6; ///< Reg 672. eserved. + U32 fpga_UnUsed_7; ///< Reg 676. Reserved. + U08 ad7124errcnt; ///< Reg 680. Counter which increments when an invalid transaction happen between FPGA and AD7124. + U08 ad7124readcnt; ///< Reg 681. Counter which increments when a valid transaction happens between FPGA and AD7124. + U16 flowRateP16; ///< Reg 682. P16 flow sensor rate. + U16 flowTempP16; ///< Reg 684. P16 flow sensor temperature. + U16 flowIntTempP16; ///< Reg 686. P16 flow sensor internal temperature. + U08 p16flowReadCount; ///< Reg 688. P16 Flow sensor read counter. + U08 p16flowErrorCount; ///< Reg 689. P16 Flow sensor error counter. + U32 d11HallSense; ///< Reg 690. D11 Pump hall sensor optical sensor interface pulse width. + U32 d10HallSense; ///< Reg 694. D10 Pump hall sensor optical sensor interface pulse width. + U32 d76HallSense; ///< Reg 698. D76 Pump hall sensor optical sensor interface pulse width. + U32 d17CondCalData; ///< Reg 702. D16 Cal Word - Holds current word being read from cal memory. + U32 d17CondCond; ///< Reg 706. D16 Conductivity Measurement. + U32 d17CondTemp; ///< Reg 710. D16 Temperature Measurement. + U08 d17CondCondReadCount; ///< Reg 714. D16 Conductivity successful read count. + U08 d17CondCondErrorCount; ///< Reg 715. D16 Conductivity unsuccessful error count. + U08 d17CondTempReadCount; ///< Reg 716. D16 Temperature successful read count. + U08 d17CondTempErrorCount; ///< Reg 717. D16 Temperature unsuccessful error count. + U08 d17CondMemCounter; ///< Reg 718. D16 Cal memory counter that keeps track of which cal word. U08 d74CondMemCounter; ///< Reg 719. D74 Cal memory counter that keeps track of which cal word. U32 d74CondCalData; ///< Reg 720. D74 Cal Word - Holds current word being read from cal memory. U32 d74CondCond; ///< Reg 724. D74 Conductivity Measurement. @@ -2627,4 +2627,675 @@ return fpgaSensorReadings.p40PumpTachCount; } +/*********************************************************************//** + * @brief + * The getFPGAD17CondReadCount function gets the D17 conductivity read count. + * @details \b Inputs: fpgaSensorReadings.d17CondCondReadCount + * @details \b Outputs: none + * @return D17 Conductivity sensor read count + *************************************************************************/ +U08 getFPGAD17CondReadCount( void ) +{ + return fpgaSensorReadings.d17CondCondReadCount; +} + +/*********************************************************************//** + * @brief + * The getFPGAD17CondErrorCount function gets the D17 conductivity error count. + * @details \b Inputs: fpgaSensorReadings.d17CondCondErrorCount + * @details \b Outputs: none + * @return D17 Conductivity sensor error count + *************************************************************************/ +U08 getFPGAD17CondErrorCount( void ) +{ + return fpgaSensorReadings.d17CondCondErrorCount; +} + +/*********************************************************************//** + * @brief + * The getFPGAD17TempReadCount function gets the D17 (D16) temperature read count. + * @details \b Inputs: fpgaSensorReadings.d17CondTempReadCount + * @details \b Outputs: none + * @return D17 (D16) Temperature sensor read count + *************************************************************************/ +U08 getFPGAD17TempReadCount( void ) +{ + return fpgaSensorReadings.d17CondTempReadCount; +} + +/*********************************************************************//** + * @brief + * The getFPGAD17TempErrorCount function gets the D17 (D16) temperature error count. + * @details \b Inputs: fpgaSensorReadings.d17CondTempErrorCount + * @details \b Outputs: none + * @return D17 (D16) Temperature sensor error count + *************************************************************************/ +U08 getFPGAD17TempErrorCount( void ) +{ + return fpgaSensorReadings.d17CondTempErrorCount; +} + +/*********************************************************************//** + * @brief + * The getFPGAD17CondData function gets the D17 conductivity data. + * @details \b Inputs: fpgaSensorReadings.d17CondCond + * @details \b Outputs: none + * @return D17 Conductivity data + *************************************************************************/ +U32 getFPGAD17CondData( void ) +{ + return fpgaSensorReadings.d17CondCond; +} + +/*********************************************************************//** + * @brief + * The getFPGAD17CondTemp function gets the D17 (D16) temperature data. + * @details \b Inputs: fpgaSensorReadings.d17CondTemp + * @details \b Outputs: none + * @return D17 (D16) Temperature data + *************************************************************************/ +U32 getFPGAD17CondTemp( void ) +{ + return fpgaSensorReadings.d17CondTemp; +} + +/*********************************************************************//** + * @brief + * The getFPGAD17CondData function gets the D17 cal data. + * @details \b Inputs: fpgaSensorReadings.d17CondCalData + * @details \b Outputs: none + * @return D17 calibration data + *************************************************************************/ +U32 getFPGAD17CondCalData( void ) +{ + return fpgaSensorReadings.d17CondCalData; +} + +/*********************************************************************//** + * @brief + * The getFPGAD17CalMemCounter function gets the D17 memory count. + * @details \b Inputs: fpgaSensorReadings.d17CondMemCounter + * @details \b Outputs: none + * @return D17 memory count + *************************************************************************/ +U08 getFPGAD17CalMemCounter( void ) +{ + return fpgaSensorReadings.d17CondMemCounter; +} + +/*********************************************************************//** + * @brief + * The getFPGAD27CondReadCount function gets the D27 conductivity read count. + * @details \b Inputs: fpgaSensorReadings.d27CondCondReadCount + * @details \b Outputs: none + * @return D27 Conductivity sensor read count + *************************************************************************/ +U08 getFPGAD27CondReadCount( void ) +{ + return fpgaSensorReadings.d27CondCondReadCount; +} + +/*********************************************************************//** + * @brief + * The getFPGAD27CondErrorCount function gets the D27 conductivity error count. + * @details \b Inputs: fpgaSensorReadings.d27CondCondErrorCount + * @details \b Outputs: none + * @return D27 Conductivity sensor error count + *************************************************************************/ +U08 getFPGAD27CondErrorCount( void ) +{ + return fpgaSensorReadings.d27CondCondErrorCount; +} + +/*********************************************************************//** + * @brief + * The getFPGAD27TempReadCount function gets the D27 (D28) temperature read count. + * @details \b Inputs: fpgaSensorReadings.d27CondTempReadCount + * @details \b Outputs: none + * @return D27 (D28) Temperature sensor read count + *************************************************************************/ +U08 getFPGAD27TempReadCount( void ) +{ + return fpgaSensorReadings.d27CondTempReadCount; +} + +/*********************************************************************//** + * @brief + * The getFPGAD27TempErrorCount function gets the D27 (D28) temperature error count. + * @details \b Inputs: fpgaSensorReadings.d27CondTempErrorCount + * @details \b Outputs: none + * @return D27 (D28) Temperature sensor error count + *************************************************************************/ +U08 getFPGAD27TempErrorCount( void ) +{ + return fpgaSensorReadings.d27CondTempErrorCount; +} + +/*********************************************************************//** + * @brief + * The getFPGAD27CondData function gets the D27 conductivity data. + * @details \b Inputs: fpgaSensorReadings.d27CondCond + * @details \b Outputs: none + * @return D27 Conductivity data + *************************************************************************/ +U32 getFPGAD27CondData( void ) +{ + return fpgaSensorReadings.d27CondCond; +} + +/*********************************************************************//** + * @brief + * The getFPGAD27CondTemp function gets the D27 (D28) temperature data. + * @details \b Inputs: fpgaSensorReadings.d27CondTemp + * @details \b Outputs: none + * @return D27 (D28) Temperature data + *************************************************************************/ +U32 getFPGAD27CondTemp( void ) +{ + return fpgaSensorReadings.d27CondTemp; +} + +/*********************************************************************//** + * @brief + * The getFPGAD27CondCalData function gets the D27 cal data. + * @details \b Inputs: fpgaSensorReadings.d27CondCalData + * @details \b Outputs: none + * @return D27 calibration data + *************************************************************************/ +U32 getFPGAD27CondCalData( void ) +{ + return fpgaSensorReadings.d27CondCalData; +} + +/*********************************************************************//** + * @brief + * The getFPGAD27CalMemCounter function gets the D27 memory count. + * @details \b Inputs: fpgaSensorReadings.d27CondMemCounter + * @details \b Outputs: none + * @return D27 memory count + *************************************************************************/ +U08 getFPGAD27CalMemCounter( void ) +{ + return fpgaSensorReadings.d27CondMemCounter; +} + +/*********************************************************************//** + * @brief + * The getFPGAD29CondReadCount function gets the D29 conductivity read count. + * @details \b Inputs: fpgaSensorReadings.d29CondCondReadCount + * @details \b Outputs: none + * @return D29 Conductivity sensor read count + *************************************************************************/ +U08 getFPGAD29CondReadCount( void ) +{ + return fpgaSensorReadings.d29CondCondReadCount; +} + +/*********************************************************************//** + * @brief + * The getFPGAD29CondErrorCount function gets the D29 conductivity error count. + * @details \b Inputs: fpgaSensorReadings.d29CondCondErrorCount + * @details \b Outputs: none + * @return D29 Conductivity sensor error count + *************************************************************************/ +U08 getFPGAD29CondErrorCount( void ) +{ + return fpgaSensorReadings.d29CondCondErrorCount; +} + +/*********************************************************************//** + * @brief + * The getFPGAD29TempReadCount function gets the D29 (D28) temperature read count. + * @details \b Inputs: fpgaSensorReadings.d29CondTempReadCount + * @details \b Outputs: none + * @return D29 (D28) Temperature sensor read count + *************************************************************************/ +U08 getFPGAD29TempReadCount( void ) +{ + return fpgaSensorReadings.d29CondTempReadCount; +} + +/*********************************************************************//** + * @brief + * The getFPGAD29TempErrorCount function gets the D29 (D28) temperature error count. + * @details \b Inputs: fpgaSensorReadings.d29CondTempErrorCount + * @details \b Outputs: none + * @return D29 (D28) Temperature sensor error count + *************************************************************************/ +U08 getFPGAD29TempErrorCount( void ) +{ + return fpgaSensorReadings.d29CondTempErrorCount; +} + +/*********************************************************************//** + * @brief + * The getFPGAD29CondData function gets the D29 conductivity data. + * @details \b Inputs: fpgaSensorReadings.d29CondCond + * @details \b Outputs: none + * @return D29 Conductivity data + *************************************************************************/ +U32 getFPGAD29CondData( void ) +{ + return fpgaSensorReadings.d29CondCond; +} + +/*********************************************************************//** + * @brief + * The getFPGAD29CondTemp function gets the D29 (D30) temperature data. + * @details \b Inputs: fpgaSensorReadings.d29CondTemp + * @details \b Outputs: none + * @return D29 (D28) Temperature data + *************************************************************************/ +U32 getFPGAD29CondTemp( void ) +{ + return fpgaSensorReadings.d29CondTemp; +} + +/*********************************************************************//** + * @brief + * The getFPGAD29CondCalData function gets the D29 cal data. + * @details \b Inputs: fpgaSensorReadings.d29CondCalData + * @details \b Outputs: none + * @return D29 calibration data + *************************************************************************/ +U32 getFPGAD29CondCalData( void ) +{ + return fpgaSensorReadings.d29CondCalData; +} + +/*********************************************************************//** + * @brief + * The getFPGAD29CalMemCounter function gets the D29 memory count. + * @details \b Inputs: fpgaSensorReadings.d29CondMemCounter + * @details \b Outputs: none + * @return D29 memory count + *************************************************************************/ +U08 getFPGAD29CalMemCounter( void ) +{ + return fpgaSensorReadings.d29CondMemCounter; +} + +/*********************************************************************//** + * @brief + * The getFPGAD43CondReadCount function gets the D43 conductivity read count. + * @details \b Inputs: fpgaSensorReadings.d43CondCondReadCount + * @details \b Outputs: none + * @return D437 Conductivity sensor read count + *************************************************************************/ +U08 getFPGAD43CondReadCount( void ) +{ + return fpgaSensorReadings.d43CondCondReadCount; +} + +/*********************************************************************//** + * @brief + * The getFPGAD43CondErrorCount function gets the D43 conductivity error count. + * @details \b Inputs: fpgaSensorReadings.d43CondCondErrorCount + * @details \b Outputs: none + * @return D43 Conductivity sensor error count + *************************************************************************/ +U08 getFPGAD43CondErrorCount( void ) +{ + return fpgaSensorReadings.d43CondCondErrorCount; +} + +/*********************************************************************//** + * @brief + * The getFPGAD43TempReadCount function gets the D43 (D44) temperature read count. + * @details \b Inputs: fpgaSensorReadings.d43CondTempReadCount + * @details \b Outputs: none + * @return D43 (D44) Temperature sensor read count + *************************************************************************/ +U08 getFPGAD43TempReadCount( void ) +{ + return fpgaSensorReadings.d43CondTempReadCount; +} + +/*********************************************************************//** + * @brief + * The getFPGAD43TempErrorCount function gets the D43 (D44) temperature error count. + * @details \b Inputs: fpgaSensorReadings.d43CondTempErrorCount + * @details \b Outputs: none + * @return D43 (D44) Temperature sensor error count + *************************************************************************/ +U08 getFPGAD43TempErrorCount( void ) +{ + return fpgaSensorReadings.d43CondTempErrorCount; +} + +/*********************************************************************//** + * @brief + * The getFPGAD43CondData function gets the D43 conductivity data. + * @details \b Inputs: fpgaSensorReadings.d43CondCond + * @details \b Outputs: none + * @return D43 Conductivity data + *************************************************************************/ +U32 getFPGAD43CondData( void ) +{ + return fpgaSensorReadings.d43CondCond; +} + +/*********************************************************************//** + * @brief + * The getFPGAD43CondTemp function gets the D43 (D44) temperature data. + * @details \b Inputs: fpgaSensorReadings.d43CondTemp + * @details \b Outputs: none + * @return D43 (D44) Temperature data + *************************************************************************/ +U32 getFPGAD43CondTemp( void ) +{ + return fpgaSensorReadings.d43CondTemp; +} + +/*********************************************************************//** + * @brief + * The getFPGAD43CondCalData function gets the D43 cal data. + * @details \b Inputs: fpgaSensorReadings.d43CondCalData + * @details \b Outputs: none + * @return D43 calibration data + *************************************************************************/ +U32 getFPGAD43CondCalData( void ) +{ + return fpgaSensorReadings.d43CondCalData; +} + +/*********************************************************************//** + * @brief + * The getFPGAD43CalMemCounter function gets the D43 memory count. + * @details \b Inputs: fpgaSensorReadings.d43CondMemCounter + * @details \b Outputs: none + * @return D43 memory count + *************************************************************************/ +U08 getFPGAD43CalMemCounter( void ) +{ + return fpgaSensorReadings.d43CondMemCounter; +} + +/*********************************************************************//** + * @brief + * The getFPGAD74CondReadCount function gets the D74 conductivity read count. + * @details \b Inputs: fpgaSensorReadings.d74CondCondReadCount + * @details \b Outputs: none + * @return D74 Conductivity sensor read count + *************************************************************************/ +U08 getFPGAD74CondReadCount( void ) +{ + return fpgaSensorReadings.d74CondCondReadCount; +} + +/*********************************************************************//** + * @brief + * The getFPGAD74CondErrorCount function gets the D74 conductivity error count. + * @details \b Inputs: fpgaSensorReadings.d74CondCondErrorCount + * @details \b Outputs: none + * @return D74 Conductivity sensor error count + *************************************************************************/ +U08 getFPGAD74CondErrorCount( void ) +{ + return fpgaSensorReadings.d74CondCondErrorCount; +} + +/*********************************************************************//** + * @brief + * The getFPGAD74TempReadCount function gets the D74 (D75) temperature read count. + * @details \b Inputs: fpgaSensorReadings.d74CondTempReadCount + * @details \b Outputs: none + * @return D74 (D75) Temperature sensor read count + *************************************************************************/ +U08 getFPGAD74TempReadCount( void ) +{ + return fpgaSensorReadings.d74CondTempReadCount; +} + +/*********************************************************************//** + * @brief + * The getFPGAD74TempErrorCount function gets the D74 (D75) temperature error count. + * @details \b Inputs: fpgaSensorReadings.d74CondTempErrorCount + * @details \b Outputs: none + * @return D74 (D75) Temperature sensor error count + *************************************************************************/ +U08 getFPGAD74TempErrorCount( void ) +{ + return fpgaSensorReadings.d74CondTempErrorCount; +} + +/*********************************************************************//** + * @brief + * The getFPGAD74CondData function gets the D74 conductivity data. + * @details \b Inputs: fpgaSensorReadings.d74CondCond + * @details \b Outputs: none + * @return D74 Conductivity data + *************************************************************************/ +U32 getFPGAD74CondData( void ) +{ + return fpgaSensorReadings.d74CondCond; +} + +/*********************************************************************//** + * @brief + * The getFPGAD74CondTemp function gets the D74 (D75) temperature data. + * @details \b Inputs: fpgaSensorReadings.d74CondTemp + * @details \b Outputs: none + * @return D74 (D75) Temperature data + *************************************************************************/ +U32 getFPGAD74CondTemp( void ) +{ + return fpgaSensorReadings.d74CondTemp; +} + +/*********************************************************************//** + * @brief + * The getFPGAD74CondCalData function gets the D74 cal data. + * @details \b Inputs: fpgaSensorReadings.d74CondCalData + * @details \b Outputs: none + * @return D74 calibration data + *************************************************************************/ +U32 getFPGAD74CondCalData( void ) +{ + return fpgaSensorReadings.d74CondCalData; +} + +/*********************************************************************//** + * @brief + * The getFPGAD74CalMemCounter function gets the D74 memory count. + * @details \b Inputs: fpgaSensorReadings.d74CondMemCounter + * @details \b Outputs: none + * @return D74 memory count + *************************************************************************/ +U08 getFPGAD74CalMemCounter( void ) +{ + return fpgaSensorReadings.d74CondMemCounter; +} + +/*********************************************************************//** + * @brief + * The getFPGAP9CondReadCount function gets the P9 conductivity read count. + * @details \b Inputs: fpgaSensorReadings.p9CondCondReadCount + * @details \b Outputs: none + * @return P9 Conductivity sensor read count + *************************************************************************/ +U08 getFPGAP9CondReadCount( void ) +{ + return fpgaSensorReadings.p9CondCondReadCount; +} + +/*********************************************************************//** + * @brief + * The getFPGAP9CondErrorCount function gets the P9 conductivity error count. + * @details \b Inputs: fpgaSensorReadings.p9CondCondErrorCount + * @details \b Outputs: none + * @return P9 Conductivity sensor error count + *************************************************************************/ +U08 getFPGAP9CondErrorCount( void ) +{ + return fpgaSensorReadings.p9CondCondErrorCount; +} + +/*********************************************************************//** + * @brief + * The getFPGAP9TempReadCount function gets the P9 (P10) temperature read count. + * @details \b Inputs: fpgaSensorReadings.p9CondTempReadCount + * @details \b Outputs: none + * @return P9 (P10) Temperature sensor read count + *************************************************************************/ +U08 getFPGAP9TempReadCount( void ) +{ + return fpgaSensorReadings.p9CondTempReadCount; +} + +/*********************************************************************//** + * @brief + * The getFPGAP9TempErrorCount function gets the P9 (P10) temperature error count. + * @details \b Inputs: fpgaSensorReadings.p9CondTempErrorCount + * @details \b Outputs: none + * @return P9 (P10) Temperature sensor error count + *************************************************************************/ +U08 getFPGAP9TempErrorCount( void ) +{ + return fpgaSensorReadings.p9CondTempErrorCount; +} + +/*********************************************************************//** + * @brief + * The getFPGAP9CondData function gets the P9 conductivity data. + * @details \b Inputs: fpgaSensorReadings.p9CondCond + * @details \b Outputs: none + * @return P9 Conductivity data + *************************************************************************/ +U32 getFPGAP9CondData( void ) +{ + return fpgaSensorReadings.p9CondCond; +} + +/*********************************************************************//** + * @brief + * The getFPGAP9CondTemp function gets the P9 (P10) temperature data. + * @details \b Inputs: fpgaSensorReadings.p9CondTemp + * @details \b Outputs: none + * @return P9 (P10) Temperature data + *************************************************************************/ +U32 getFPGAP9CondTemp( void ) +{ + return fpgaSensorReadings.p9CondTemp; +} + +/*********************************************************************//** + * @brief + * The getFPGAP9CondCalData function gets the P9 cal data. + * @details \b Inputs: fpgaSensorReadings.p9CondCalData + * @details \b Outputs: none + * @return P9 calibration data + *************************************************************************/ +U32 getFPGAP9CondCalData( void ) +{ + return fpgaSensorReadings.p9CondCalData; +} + +/*********************************************************************//** + * @brief + * The getFPGAP9CalMemCounter function gets the P9 memory count. + * @details \b Inputs: fpgaSensorReadings.p9CondMemCounter + * @details \b Outputs: none + * @return P9 memory count + *************************************************************************/ +U08 getFPGAP9CalMemCounter( void ) +{ + return fpgaSensorReadings.p9CondMemCounter; +} + +/*********************************************************************//** + * @brief + * The getFPGAP18CondReadCount function gets the P18 conductivity read count. + * @details \b Inputs: fpgaSensorReadings.p18CondCondReadCount + * @details \b Outputs: none + * @return P18 Conductivity sensor read count + *************************************************************************/ +U08 getFPGAP18CondReadCount( void ) +{ + return fpgaSensorReadings.p18CondCondReadCount; +} + +/*********************************************************************//** + * @brief + * The getFPGAP18CondErrorCount function gets the P18 conductivity error count. + * @details \b Inputs: fpgaSensorReadings.p18CondCondErrorCount + * @details \b Outputs: none + * @return P18 Conductivity sensor error count + *************************************************************************/ +U08 getFPGAP18CondErrorCount( void ) +{ + return fpgaSensorReadings.p18CondCondErrorCount; +} + +/*********************************************************************//** + * @brief + * The getFPGAP18TempReadCount function gets the P18 (P19) temperature read count. + * @details \b Inputs: fpgaSensorReadings.p9CondTempReadCount + * @details \b Outputs: none + * @return P18 (P19) Temperature sensor read count + *************************************************************************/ +U08 getFPGAP18TempReadCount( void ) +{ + return fpgaSensorReadings.p18CondTempReadCount; +} + +/*********************************************************************//** + * @brief + * The getFPGAP18TempErrorCount function gets the P18 (P19) temperature error count. + * @details \b Inputs: fpgaSensorReadings.p18CondTempErrorCount + * @details \b Outputs: none + * @return P18 (P19) Temperature sensor error count + *************************************************************************/ +U08 getFPGAP18TempErrorCount( void ) +{ + return fpgaSensorReadings.p18CondTempErrorCount; +} + +/*********************************************************************//** + * @brief + * The getFPGAP18CondData function gets the P18 conductivity data. + * @details \b Inputs: fpgaSensorReadings.p18CondCond + * @details \b Outputs: none + * @return P18 Conductivity data + *************************************************************************/ +U32 getFPGAP18CondData( void ) +{ + return fpgaSensorReadings.p18CondCond; +} + +/*********************************************************************//** + * @brief + * The getFPGAP18CondTemp function gets the P18 (P19) temperature data. + * @details \b Inputs: fpgaSensorReadings.p18CondTemp + * @details \b Outputs: none + * @return P18 (P19) Temperature data + *************************************************************************/ +U32 getFPGAP18CondTemp( void ) +{ + return fpgaSensorReadings.p18CondTemp; +} + +/*********************************************************************//** + * @brief + * The getFPGAP18CondCalData function gets the P18 cal data. + * @details \b Inputs: fpgaSensorReadings.p18CondCalData + * @details \b Outputs: none + * @return P18 calibration data + *************************************************************************/ +U32 getFPGAP18CondCalData( void ) +{ + return fpgaSensorReadings.p18CondCalData; +} + +/*********************************************************************//** + * @brief + * The getFPGAP18CalMemCounter function gets the P18 memory count. + * @details \b Inputs: fpgaSensorReadings.p18CondMemCounter + * @details \b Outputs: none + * @return P18 memory count + *************************************************************************/ +U08 getFPGAP18CalMemCounter( void ) +{ + return fpgaSensorReadings.p18CondMemCounter; +} /**@}*/