Index: firmware/App/Services/FpgaTD.h =================================================================== diff -u -rd8321750d630eb1826d43f4fc9e4adf8ff4b07b0 -re36419ec3d1b64f3831b631d57f30ce4018646c5 --- firmware/App/Services/FpgaTD.h (.../FpgaTD.h) (revision d8321750d630eb1826d43f4fc9e4adf8ff4b07b0) +++ firmware/App/Services/FpgaTD.h (.../FpgaTD.h) (revision e36419ec3d1b64f3831b631d57f30ce4018646c5) @@ -65,22 +65,6 @@ U16 baroPromCRC; ///< Reg 366. Baro prom CRC. } BARO_PRES_SENSOR_MFG_T; -/// FPGA NIBP command definitions -typedef enum -{ - FPGA_NIBP_CMD_IDLE = 0x00, ///< No command. - FPGA_NIBP_CMD_GET_MODULE_DATA = 0x01, ///< Get NIBP module data. - FPGA_NIBP_CMD_SET_INITIAL_INFLATE = 0x02, ///< Set initial inflate pressure. - FPGA_NIBP_CMD_START_BP = 0x03, ///< Start adult BP measurement. - FPGA_NIBP_CMD_START_PEDS_BP = 0x04, ///< Start pediatric BP measurement. - FPGA_NIBP_CMD_ABORT_BP = 0x05, ///< Abort BP measurement. - FPGA_NIBP_CMD_GET_CUFF_PRESSURE = 0x06, ///< Get cuff pressure. - FPGA_NIBP_CMD_GET_BP_DATA = 0x07, ///< Get BP data. - FPGA_NIBP_CMD_SET_SLEEP_MODE = 0x08, ///< Set sleep mode. - FPGA_NIBP_CMD_CONTROL_PNEUMATICS = 0x09, ///< Control pneumatics. - FPGA_NIBP_CMD_RESET = 0x0A ///< Reset NIBP module. -} FPGA_NIBP_CMD_T; - // ********** public function prototypes ********** void initFpgaTD( void ); @@ -168,7 +152,7 @@ U32 getFPGAEjectorRetractOpticalSensor( void ); U32 getFPGAEjectorEngageOpticalSensor( void ); -void setNIBPCommand( FPGA_NIBP_CMD_T command ); +void setNIBPCommand( U08 command ); void setNIBPInflatePressure( U16 pressure ); U08 getNIBPControlStatus( void ); U08 getNIBPStatusResponse( void );