Index: firmware/App/Controllers/DGInterface.h =================================================================== diff -u -rc67def50892f9a7c2f1f22985b5351465a8f6773 -r933a18d740285e70be9d00696ed0f5a5381bc8e4 --- firmware/App/Controllers/DGInterface.h (.../DGInterface.h) (revision c67def50892f9a7c2f1f22985b5351465a8f6773) +++ firmware/App/Controllers/DGInterface.h (.../DGInterface.h) (revision 933a18d740285e70be9d00696ed0f5a5381bc8e4) @@ -57,6 +57,55 @@ NUM_OF_DG_PRESSURE_SENSORS ///< Number of pressure sensors. } DG_PRESSURE_SENSORS_T; +/// Payload record structure for an RO pump data message. +typedef struct +{ + U32 setPtPSI; + F32 measFlowRateMlMin; + F32 setPWM; +} DG_RO_PUMP_DATA_PAYLOAD_T; + +/// Payload record structure for a drain pump data message. +typedef struct +{ + U32 setPtRPM; + F32 setPWM; +} DG_DRAIN_PUMP_DATA_PAYLOAD_T; + +/// Payload record structure for a DG pressures data message. +typedef struct +{ + F32 roInPSI; + F32 roOutPSI; + F32 drainInPSI; + F32 drainOutPSI; +} DG_PRESSURES_DATA_PAYLOAD_T; + +/// Payload record structure for a reservoirs data message. +typedef struct +{ + U32 resID; + U32 setFillToVolumeMl; + U32 setDrainToVolumeMl; +} DG_RESERVOIRS_DATA_PAYLOAD_T; + +/// Payload record structure for DG temperature sensors data message. +typedef struct +{ + F32 TPi; + F32 TPo; + F32 TD1; + F32 TD2; + F32 TRo; + F32 TDi; + F32 HtrPrimThermo; + F32 HtrTrimThermo; + F32 HtrPrimColdJunc; + F32 HtrTrimColdJunc; + F32 HtrPrimInternal; + F32 HtrTrimInternal; +} DG_TEMPERATURES_T; + // ********** public function prototypes ********** void initDGInterface( void );