Index: firmware/App/Services/FPGA.c =================================================================== diff -u -r19ed5eac0b3a24d9bf9da52767dcc5fe2872bd7c -r08d27319b4b5f6f15e5de0758d9f528db1db6b3a --- firmware/App/Services/FPGA.c (.../FPGA.c) (revision 19ed5eac0b3a24d9bf9da52767dcc5fe2872bd7c) +++ firmware/App/Services/FPGA.c (.../FPGA.c) (revision 08d27319b4b5f6f15e5de0758d9f528db1db6b3a) @@ -2114,6 +2114,43 @@ /*********************************************************************//** * @brief + * The getFPGAInternalVccVoltage function gets the FPGA internal Vcc voltage. + * @details Inputs: fpgaSensorReadings + * @details Outputs: none + * @return internal Vcc voltage + *************************************************************************/ +U16 getFPGAInternalVccVoltage( void ) +{ + return fpgaSensorReadings.fpgaADCVccInt; +} + +/*********************************************************************//** + * @brief + * The getFPGAInternalVccAuxilaryVoltage function gets the FPGA auxiliary + * Vcc voltage. + * @details Inputs: fpgaSensorReadings + * @details Outputs: none + * @return auxiliary Vcc voltage + *************************************************************************/ +U16 getFPGAInternalVccAuxiliaryVoltage( void ) +{ + return fpgaSensorReadings.fpgaADCVccAux; +} + +/*********************************************************************//** + * @brief + * The getFPGAVPVNVoltage function gets the FPGA VPVN voltage. + * @details Inputs: fpgaSensorReadings + * @details Outputs: none + * @return VPVN voltage + *************************************************************************/ +U16 getFPGAVPVNVoltage( void ) +{ + return fpgaSensorReadings.fpgaADCVPVN; +} + +/*********************************************************************//** + * @brief * The getFPGABaroReadCount function gets the FPGA barometric sensor read count. * @details Inputs: fpgaSensorReadings * @details Outputs: none