Index: NVDataMgmtHDRecords.h =================================================================== diff -u -rcfa1142455dbcebceda091ae61e5d1f5e889fa6e -rd2ff6db64d23836f7e649c7c13240c3c93a8b5aa --- NVDataMgmtHDRecords.h (.../NVDataMgmtHDRecords.h) (revision cfa1142455dbcebceda091ae61e5d1f5e889fa6e) +++ NVDataMgmtHDRecords.h (.../NVDataMgmtHDRecords.h) (revision d2ff6db64d23836f7e649c7c13240c3c93a8b5aa) @@ -35,6 +35,14 @@ #define MAX_TOP_LEVEL_PN_CHARS 10U ///< Max number of characters for top level part number. #define MAX_TOP_LEVEL_SN_CHARS 15U ///< Max number of characters for top level serial number. +/// HD available NV data to get +typedef enum hd_nv_commands +{ + CAL_GET_BLOOD_LEAK_SENSOR = 0, + CAL_GET_TEMPERATURE_SESNORS, + NUM_OF_NV_HD_DATA +} NV_DATA_T; + /// HD pumps enumeration. typedef enum hd_pumps { @@ -48,7 +56,7 @@ typedef enum hd_valves { CAL_DATA_BLOOD_VENOUS_VALVE = 0, ///< Blood venous valve. - CAL_DATA_BLOOD_ARTERAIL_VALVE, ///< Blood arterial valve. + CAL_DATA_BLOOD_ARTERIAL_VALVE, ///< Blood arterial valve. CAL_DATA_DIALYZER_INLET_VALVE, ///< Dialyzer inlet valve. CAL_DATA_DIALYZER_OUTLET_VALVE, ///< Dialyzer outlet valve. NUM_OF_CAL_DATA_HD_VALVES ///< Number of HD valves. @@ -173,6 +181,14 @@ U16 crc; ///< CRC for the HD accelerometer sensor. } HD_ACCELEROMETER_SENSOR_CAL_RECORD_T; +/// HD blood leak calibration structure +typedef struct +{ + U32 setPoint; ///< Blood leak sensor set point. + U16 calibrationTime; ///< Calibration time. + U16 crc; ///< CRC for the HD blood leak calibration payload. +} HD_BLOOD_LEAK_SENSOR_CAL_RECORD_T; + /// HD systems record structure typedef struct {