Index: firmware/App/Modes/ModeFill.h =================================================================== diff -u -r6d5a23b275903587f400bc686aed4d2709cf3e78 -r353d01d31bc69d4d1901ff09097ee610bb1c9dbc --- firmware/App/Modes/ModeFill.h (.../ModeFill.h) (revision 6d5a23b275903587f400bc686aed4d2709cf3e78) +++ firmware/App/Modes/ModeFill.h (.../ModeFill.h) (revision 353d01d31bc69d4d1901ff09097ee610bb1c9dbc) @@ -1,26 +1,48 @@ /************************************************************************** - * - * Copyright (c) 2019-2019 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 FillMode.h - * - * @date 19-Nov-2019 - * @author L. Baloa - * - * @brief Header file for Fill Mode. - * - **************************************************************************/ +* +* Copyright (c) 2019-2021 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 ModeFill.h +* +* @author (last) Dara Navaei +* @date (last) 03-Nov-2021 +* +* @author (original) Leonardo Baloa +* @date (original) 19-Nov-2019 +* +***************************************************************************/ #ifndef __MODE_FILL_H__ -#define __MODE_FILl_H__ +#define __MODE_FILL_H__ -// ********** private function prototypes ********** +#include "DGCommon.h" +#include "DGDefs.h" +/** + * @defgroup DGFillMode DGFillMode + * @brief Fill mode module. Manages fill mode functions via a state machine. + * + * @addtogroup DGFillMode + * @{ + */ + +// ********** public definitions ********** + +// ********** public function prototypes ********** + void initFillMode( void ); // initialize this module -void transitionToFillMode( void ); // prepares for transition to fill mode -void execFillMode( void ); // execute the fill mode state machine (call from OperationModes) +U32 transitionToFillMode( void ); // prepares for transition to fill mode +U32 execFillMode( void ); // execute the fill mode state machine (call from OperationModes) +F32 getAvgFillFlowRate( void ); // TODO do we need this? + +F32 getAvgFillTemperature( void ); + +F32 getLastFillTemperature( void ); + +/**@}*/ + #endif