Index: firmware/App/Services/FpgaTD.h =================================================================== diff -u -rb824ef4b479578c5aa702abd9147aef505a6fb04 -r153784735cd268c81765544a581e36d76067d344 --- firmware/App/Services/FpgaTD.h (.../FpgaTD.h) (revision b824ef4b479578c5aa702abd9147aef505a6fb04) +++ firmware/App/Services/FpgaTD.h (.../FpgaTD.h) (revision 153784735cd268c81765544a581e36d76067d344) @@ -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 ); /**@}*/