Index: firmware/App/Services/FpgaTD.h =================================================================== diff -u -rcf22584fb68bb29311d81d1e5ad79f8cf064b8fb -r5eda216f634a74512a5bc11b0984676567512d80 --- firmware/App/Services/FpgaTD.h (.../FpgaTD.h) (revision cf22584fb68bb29311d81d1e5ad79f8cf064b8fb) +++ 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,12 +133,14 @@ 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 );