Index: firmware/App/Services/FPGA.c =================================================================== diff -u -r27d91d88b73aa4194cef1d3b08decc12ccdecc33 -r0b17c6271cdc3c55697a74ecaadb477d9c8f5687 --- firmware/App/Services/FPGA.c (.../FPGA.c) (revision 27d91d88b73aa4194cef1d3b08decc12ccdecc33) +++ firmware/App/Services/FPGA.c (.../FPGA.c) (revision 0b17c6271cdc3c55697a74ecaadb477d9c8f5687) @@ -1730,5 +1730,53 @@ return fpgaSensorReadings.fpgaRTDTemp; } +/*********************************************************************//** + * @brief + * The getFPGAADC1ReadCount function gets the FPGA ADC1 read count. + * @details Inputs: fpgaSensorReadings + * @details Outputs: none + * @return FPGA ADC1 read count + *************************************************************************/ +U08 getFPGAADC1ReadCount( void ) +{ + return fpgaSensorReadings.fpgaADC1ReadCnt; +} + +/*********************************************************************//** + * @brief + * The getFPGAADC1ErrorCount function gets the FPGA ADC1 error count. + * @details Inputs: fpgaSensorReadings + * @details Outputs: none + * @return FPGA ADC1 error count + *************************************************************************/ +U08 getFPGAADC1ErrorCount( void ) +{ + return fpgaSensorReadings.fpgaADC1ErrorCnt; +} + +/*********************************************************************//** + * @brief + * The getFPGAADC2ReadCount function gets the FPGA ADC2 read count. + * @details Inputs: fpgaSensorReadings + * @details Outputs: none + * @return FPGA ADC2 read count + *************************************************************************/ +U08 getFPGAADC2ReadCount( void ) +{ + return fpgaSensorReadings.fpgaADC2ReadCnt; +} + +/*********************************************************************//** + * @brief + * The getFPGAADC2ErrorCount function gets the FPGA ADC2 error count. + * @details Inputs: fpgaSensorReadings + * @details Outputs: none + * @return FPGA ADC2 error count + *************************************************************************/ +U08 getFPGAADC2ErrorCount( void ) +{ + return fpgaSensorReadings.fpgaADC2ErrorCnt; +} + /**@}*/