/************************************************************************** * * Copyright (c) 2024-2024 Diality Inc. - All Rights Reserved. * * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. * * @file ROInterface.h * * @author (last) Vinayakam Mani * @date (last) 19-Nov-2024 * * @author (original) Vinayakam Mani * @date (original) 19-Nov-2024 * ***************************************************************************/ #ifndef __RO_INTERFACE_H__ #define __RO_INTERFACE_H__ #include "DDCommon.h" #include "MessagePayloads.h" #include "TDDefs.h" #include "RODefs.h" /** * @defgroup ROInterface ROInterface * @brief RO interface & monitor unit. Interfaces with and monitors the * RO (Prefilteration and purification or Reverse Osmosis) sub-system. * * @addtogroup ROInterface * @{ */ // ********** public definitions ********** // ********** public function prototypes ********** void initROInterface( void ); void execROInterfaceMonitor( void ); BOOL cmdROStartStop( BOOL startStop); void setROFlowRate( F32 roFlow ); F32 getROFlowRate( void ); void setROModeCmd( RO_CMD_ID cmdMode ); RO_CMD_ID getROModeCmd( void ); void setROOpMode( U32 opMode, U32 subMode ); RO_OP_MODE_T getROOpMode( void ); U32 getROSubMode( void ); /**@}*/ #endif