Index: firmware/App/Services/FpgaRO.c =================================================================== diff -u -r3241c6b7f66889b6443e377ab1f5ecf2cedd2602 -r69e32c52c41cfc8073a7eb59408fb30e6ac40f86 --- firmware/App/Services/FpgaRO.c (.../FpgaRO.c) (revision 3241c6b7f66889b6443e377ab1f5ecf2cedd2602) +++ firmware/App/Services/FpgaRO.c (.../FpgaRO.c) (revision 69e32c52c41cfc8073a7eb59408fb30e6ac40f86) @@ -772,6 +772,198 @@ /*********************************************************************//** * @brief + * The getFPGAX2RawPressure function gets the X2 pressure reading. + * @details \b Inputs: fpgaSensorReadings.pressureX2 + * @details \b Outputs: none + * @return X2 pressure + *************************************************************************/ +S16 getFPGAX2RawPressure( void ) +{ + return fpgaSensorReadings.pressureX2; +} + +/*********************************************************************//** + * @brief + * The getFPGAX2RawTemperature function gets the X2 sensor temperature. + * @details \b Inputs: fpgaSensorReadings.temperatureX2 + * @details \b Outputs: none + * @return X2 sensor temperature + *************************************************************************/ +S16 getFPGAX2RawTemperature( void ) +{ + return fpgaSensorReadings.temperatureX2; +} + +/*********************************************************************//** + * @brief + * The getFPGAX1ReadCount function gets the X2 sensor read count. + * @details \b Inputs: fpgaSensorReadings.readCountX2 + * @details \b Outputs: none + * @return X2 sensor read count + *************************************************************************/ +U08 getFPGAX2ReadCount( void ) +{ + return fpgaSensorReadings.readCountX2; +} + +/*********************************************************************//** + * @brief + * The getFPGAX2ErrorCount function gets the X2 sensor error count. + * @details \b Inputs: fpgaSensorReadings.errorCountX2 + * @details \b Outputs: none + * @return X2 sensor error count + *************************************************************************/ +U08 getFPGAX2ErrorCount( void ) +{ + return fpgaSensorReadings.errorCountX2; +} + +/*********************************************************************//** + * @brief + * The getFPGAX3RawPressure function gets the X3 pressure reading. + * @details \b Inputs: fpgaSensorReadings.pressureX3 + * @details \b Outputs: none + * @return X3 pressure + *************************************************************************/ +S16 getFPGAX3RawPressure( void ) +{ + return fpgaSensorReadings.pressureX3; +} + +/*********************************************************************//** + * @brief + * The getFPGAX3RawTemperature function gets the X3 sensor temperature. + * @details \b Inputs: fpgaSensorReadings.temperatureX3 + * @details \b Outputs: none + * @return X3 sensor temperature + *************************************************************************/ +S16 getFPGAX3RawTemperature( void ) +{ + return fpgaSensorReadings.temperatureX3; +} + +/*********************************************************************//** + * @brief + * The getFPGAX3ReadCount function gets the X3 sensor read count. + * @details \b Inputs: fpgaSensorReadings.readCountX3 + * @details \b Outputs: none + * @return X3 sensor read count + *************************************************************************/ +U08 getFPGAX3ReadCount( void ) +{ + return fpgaSensorReadings.readCountX3; +} + +/*********************************************************************//** + * @brief + * The getFPGAX3ErrorCount function gets the X3 sensor error count. + * @details \b Inputs: fpgaSensorReadings.errorCountX3 + * @details \b Outputs: none + * @return X3 sensor error count + *************************************************************************/ +U08 getFPGAX3ErrorCount( void ) +{ + return fpgaSensorReadings.errorCountX3; +} + +/*********************************************************************//** + * @brief + * The getFPGAX4RawPressure function gets the X4 pressure reading. + * @details \b Inputs: fpgaSensorReadings.pressureX4 + * @details \b Outputs: none + * @return X4 pressure + *************************************************************************/ +S16 getFPGAX4RawPressure( void ) +{ + return fpgaSensorReadings.pressureX4; +} + +/*********************************************************************//** + * @brief + * The getFPGAX4RawTemperature function gets the X4 sensor temperature. + * @details \b Inputs: fpgaSensorReadings.temperatureX4 + * @details \b Outputs: none + * @return X4 sensor temperature + *************************************************************************/ +S16 getFPGAX4RawTemperature( void ) +{ + return fpgaSensorReadings.temperatureX4; +} + +/*********************************************************************//** + * @brief + * The getFPGAX4ReadCount function gets the X4 sensor read count. + * @details \b Inputs: fpgaSensorReadings.readCountX4 + * @details \b Outputs: none + * @return X4 sensor read count + *************************************************************************/ +U08 getFPGAX4ReadCount( void ) +{ + return fpgaSensorReadings.readCountX4; +} + +/*********************************************************************//** + * @brief + * The getFPGAX4ErrorCount function gets the X4 sensor error count. + * @details \b Inputs: fpgaSensorReadings.errorCountX4 + * @details \b Outputs: none + * @return X4 sensor error count + *************************************************************************/ +U08 getFPGAX4ErrorCount( void ) +{ + return fpgaSensorReadings.errorCountX4; +} + +/*********************************************************************//** + * @brief + * The getFPGAX5RawPressure function gets the X5 pressure reading. + * @details \b Inputs: fpgaSensorReadings.pressureX5 + * @details \b Outputs: none + * @return X5 pressure + *************************************************************************/ +S16 getFPGAX5RawPressure( void ) +{ + return fpgaSensorReadings.pressureX5; +} + +/*********************************************************************//** + * @brief + * The getFPGAX5RawTemperature function gets the X5 sensor temperature. + * @details \b Inputs: fpgaSensorReadings.temperatureX5 + * @details \b Outputs: none + * @return X5 sensor temperature + *************************************************************************/ +S16 getFPGAX5RawTemperature( void ) +{ + return fpgaSensorReadings.temperatureX5; +} + +/*********************************************************************//** + * @brief + * The getFPGAX5ReadCount function gets the X5 sensor read count. + * @details \b Inputs: fpgaSensorReadings.readCountX5 + * @details \b Outputs: none + * @return X5 sensor read count + *************************************************************************/ +U08 getFPGAX5ReadCount( void ) +{ + return fpgaSensorReadings.readCountX5; +} + +/*********************************************************************//** + * @brief + * The getFPGAX5ErrorCount function gets the X5 sensor error count. + * @details \b Inputs: fpgaSensorReadings.errorCountX5 + * @details \b Outputs: none + * @return X5 sensor error count + *************************************************************************/ +U08 getFPGAX5ErrorCount( void ) +{ + return fpgaSensorReadings.errorCountX5; +} + +/*********************************************************************//** + * @brief * The getFPGAP23Temperature function gets the TRO1 temperature sensor reading. * @details \b Inputs: fpgaSensorReadings.tempP23 * @details \b Outputs: none