Index: firmware/App/Services/FpgaTD.h =================================================================== diff -u -r87d45fcfcfdfa6d7638834181fd07bed56a3af67 -r5eda216f634a74512a5bc11b0984676567512d80 --- firmware/App/Services/FpgaTD.h (.../FpgaTD.h) (revision 87d45fcfcfdfa6d7638834181fd07bed56a3af67) +++ firmware/App/Services/FpgaTD.h (.../FpgaTD.h) (revision 5eda216f634a74512a5bc11b0984676567512d80) @@ -40,6 +40,7 @@ #define FPGA_PINCH_VALVES_RESET 0x00 ///< Bit mask for configuring pinch valve to be in reset. #define FPGA_PINCH_VALVES_NOT_RESET 0x20 ///< Bit mask for configuring pinch valve to not be in reset. #define FPGA_PINCH_VALVES_NOT_SLEEP 0x40 ///< Bit mask for configuring pinch valve to not be in sleep mode. +#define FPGA_PINCH_VALVES_ENABLE_HOMING 0x80 ///< Bit mask for configuring pinch valve to enable homing sequence. Bit 7 of control register. #define FPGA_PINCH_VALVES_NEW_POS_CMD 0x80 ///< Bit mask for configuring pinch valve to accept a new position command. // Bit definitions for syringe pump control register @@ -132,18 +133,22 @@ void setH19Position( S16 setPoint ); S16 getH19EncoderPosition( void ); U16 getH19Status( void ); +S16 getH19MaxEncPosition( void ); void setH1Control( U08 controlBits ); U08 getH1Control( void ); void setH1Position( S16 setPoint ); S16 getH1EncoderPosition( void ); U16 getH1Status( void ); +S16 getH1MaxEncPosition( void ); U16 getFPGABoardTemperature( void ); U32 getFPGAPBAADCTemperature( void ); U16 getFPGAInletFan1TogglePeriod( void ); BOOL getH9FrontDoorClosedStatus( void ); +U32 getFPGAEjectorRetractOpticalSensor( void ); +U32 getFPGAEjectorEngageOpticalSensor( void ); /**@}*/