/************************************************************************** * * Copyright (c) 2024-2025 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 InletPressureCheck.h * * @author (last) Raghu Kallala * @date (last) 12-Aug-2025 * * @author (original) Raghu Kallala * @date (original) 12-Aug-2025 * ***************************************************************************/ #ifndef __INLET_PRESSURE_CHECK_H__ #define __INLET_PRESSURE_CHECK_H__ #include "DDDefs.h" #include "DDCommon.h" #include "FPDefs.h" /** * @defgroup InletPressureCheck InletPressureCheck * @brief Inlet Pressure Check unit. Manages Inlet Pressure Check functions via a state machine. * * @addtogroup InletPressureCheck * @{ */ // ********** public definitions ********** /// Inlet Pressure Check data structure typedef struct { U32 inletPressureCheckExecState; ///< Inlet Pressure Check progress state } INLET_PRES_CHECK_DATA_T; // ********** public function prototypes ********** void initInletPressureCheck( void ); // Initialize this Concentrate Flush unit void execInletPressureCheck( void ); // Execute the Concentrate Flush state machine BOOL isInletPressureCheckCompleted( void ); // returns if flush is complete FP_INLET_PRES_CHECK_STATE_T getCurrentInletPressureCheckState( void ); // Get the current state of the Concentrate Flush BOOL testInletPressureCheckDataPublishIntervalOverride( MESSAGE_T *message ); BOOL testInletPressureCheckTimerOverride( MESSAGE_T *message ); /**@}*/ #endif