Index: firmware/App/Services/FPGA.c =================================================================== diff -u -r30fd485858736c08d8bc4fe8bcb94cf1b545492e -r05e516dc17597cee29c89e5eee25caed055f1151 --- firmware/App/Services/FPGA.c (.../FPGA.c) (revision 30fd485858736c08d8bc4fe8bcb94cf1b545492e) +++ firmware/App/Services/FPGA.c (.../FPGA.c) (revision 05e516dc17597cee29c89e5eee25caed055f1151) @@ -1408,6 +1408,21 @@ /************************************************************************* * @brief + * The getFPGACPiErrorCount function gets inlet water conductivity sensor + * error count + * @details + * Inputs : fpgaSensorReadings.fpgaCPiErrorCnt + * Outputs : none + * @param none + * @return Inlet water conductivity sensor read error count + *************************************************************************/ +U08 getFPGACPiErrorCount ( void ) +{ + return fpgaSensorReadings.fpgaCPiErrorCnt; +} + +/************************************************************************* + * @brief * The getFPGACPi function gets inlet water conductivity value * @details * Inputs : fpgaSensorReadings.fpgaCPi @@ -1419,3 +1434,47 @@ { return fpgaSensorReadings.fpgaCPi; } + +/************************************************************************* + * @brief + * The getFPGACPoReadCount function gets outlet water conductivity sensor + * read count + * @details + * Inputs : fpgaSensorReadings.fpgaCPoReadCnt + * Outputs : none + * @param none + * @return Last outlet water conductivity sensor read count + *************************************************************************/ +U08 getFPGACPoReadCount ( void ) +{ + return fpgaSensorReadings.fpgaCPoReadCnt; +} + +/************************************************************************* + * @brief + * The getFPGACPoErrorCount function gets outlet water conductivity sensor + * error count + * @details + * Inputs : fpgaSensorReadings.fpgaCPoErrorCnt + * Outputs : none + * @param none + * @return Outlet water conductivity sensor read error count + *************************************************************************/ +U08 getFPGACPoErrorCount ( void ) +{ + return fpgaSensorReadings.fpgaCPoErrorCnt; +} + +/************************************************************************* + * @brief + * The getFPGACPo function gets outlet water conductivity value + * @details + * Inputs : fpgaSensorReadings.fpgaCPo + * Outputs : none + * @param none + * @return Last Outlet water conductivity value + *************************************************************************/ +U32 getFPGACPo ( void ) +{ + return fpgaSensorReadings.fpgaCPo; +}