Index: firmware/App/Services/FpgaDD.c =================================================================== diff -u -rb2e7c9194acd84783d2bbad64c5720410493e199 -r65aab053022c1cab102e503012833f4879501fd1 --- firmware/App/Services/FpgaDD.c (.../FpgaDD.c) (revision b2e7c9194acd84783d2bbad64c5720410493e199) +++ firmware/App/Services/FpgaDD.c (.../FpgaDD.c) (revision 65aab053022c1cab102e503012833f4879501fd1) @@ -4735,4 +4735,675 @@ return GET_FPGA_SENSOR_FIELD( 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; +} /**@}*/