Index: firmware/App/Services/FPGA.h =================================================================== diff -u -rb49fcf5c295e49f7133ea07398c54b083bf65d49 -r08d27319b4b5f6f15e5de0758d9f528db1db6b3a --- firmware/App/Services/FPGA.h (.../FPGA.h) (revision b49fcf5c295e49f7133ea07398c54b083bf65d49) +++ firmware/App/Services/FPGA.h (.../FPGA.h) (revision 08d27319b4b5f6f15e5de0758d9f528db1db6b3a) @@ -7,8 +7,8 @@ * * @file FPGA.h * -* @author (last) Dara Navaei -* @date (last) 12-Jul-2022 +* @author (last) Dong Nguyen +* @date (last) 27-Sep-2022 * * @author (original) Dara Navaei * @date (original) 05-Nov-2019 @@ -36,6 +36,7 @@ void initFPGA( void ); void execFPGAIn( void ); void execFPGAOut( void ); +void execFPGAClockSpeedTest( void ); SELF_TEST_STATUS_T execFPGATest( void ); void signalFPGAReceiptCompleted( void ); @@ -138,6 +139,10 @@ U08 getFPGADialysateCapStatus( void ); U08 getFPGAConcentrateCapStatus( void ); +U16 getFPGAInternalVccVoltage( void ); +U16 getFPGAInternalVccAuxiliaryVoltage( void ); +U16 getFPGAVPVNVoltage( void ); + //***************** DVT Functions ***************************/ void setFPGAAcidPumpControl( U08 control ); void setFPGABicarbPumpControl( U08 control ); @@ -169,7 +174,13 @@ U16 getFPGAHeaterGateADC( void ); U16 getFPGAHeaterGndADC( void ); +U08 getFPGAHeaterGateADCReadCount( void ); +U08 getFPGAHeaterGateADCErrorCount( void ); +U16 getFPGADrainPumpCurrentFeedback( void ); +U16 getFPGADrainPumpSpeedFeedback( void ); +U08 getFPGADrainPumpDirection( void ); + /**@}*/ #endif