/************************************************************************** * * Copyright (c) 2025-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 ModePostGenDialysate.h * * @author (last) Vinayakam Mani * @date (last) 18-Apr-2025 * * @author (original) Vinayakam Mani * @date (original) 18-Apr-2025 * ***************************************************************************/ #ifndef __MODE_POST_GEN_DIALYSATE_H__ #define __MODE_POST_GEN_DIALYSATE_H__ #include "DDCommon.h" #include "DDDefs.h" /** * @defgroup DDPostGenDialysateMode DDPostGenDialysateMode * @brief PostGen Dialysate mode unit. Manages PostGen Dialysate mode functions via a state machine. * * @addtogroup DDPostGenDialysateMode * @{ */ // ********** public definitions ********** /// PostGen dialysate mode data structure typedef struct { U32 postGenDialysateExecState; ///< Post Generate dialysate execution state } POST_GEN_DIALYSATE_STATE_DATA_T; // ********** public function prototypes ********** void initPostGenDialysateMode( void ); // initialize this unit U32 transitionToPostGenDialysateMode( void ); // prepares for transition to post gen dialysate mode U32 execPostGenDialysateMode( void ); // execute the post gen dilaysate mode state machine (call from OperationModes) DD_POST_GEN_DAILYSATE_STATE_T getCurrentPostGenDialysateState( void ); // get the current state of the post gen dialysate mode. BOOL testDDPostGenDialysateDataPublishIntervalOverride( MESSAGE_T *message ); // post gen dialysate publish override request /**@}*/ #endif