Index: firmware/App/Modes/ModeInitPOST.h =================================================================== diff -u -rb64c49fdcf2b6d95e61e63f8e258c4e600935bbd -r4efb2d1786c717ca6cf4b1bc992cec8e16820bff --- firmware/App/Modes/ModeInitPOST.h (.../ModeInitPOST.h) (revision b64c49fdcf2b6d95e61e63f8e258c4e600935bbd) +++ firmware/App/Modes/ModeInitPOST.h (.../ModeInitPOST.h) (revision 4efb2d1786c717ca6cf4b1bc992cec8e16820bff) @@ -1,4 +1,4 @@ -/************************************************************************** +/**********************************************************************//** * * Copyright (c) 2019-2020 Diality Inc. - All Rights Reserved. * @@ -18,13 +18,30 @@ #define __MODE_INIT_POST_H__ #include "DGCommon.h" +#include "DGDefs.h" +/** + * @defgroup DGInitAndPOSTMode DGInitAndPOSTMode + * @brief Initialization and POST mode module. + * Manages initialization and POST mode functions via a state machine. + * + * @addtogroup DGInitAndPOSTMode + * @{ + */ + +// ********** public definitions ********** + // ********** private function prototypes ********** void initInitAndPOSTMode( void ); // initialize this module void transitionToInitAndPOSTMode( void ); // prepares for transition to init. & POST mode -void execInitAndPOSTMode( void ); // execute the init. & POST mode state machine (call from OperationModes) +U32 execInitAndPOSTMode( void ); // execute the init. & POST mode state machine (call from OperationModes) + +DG_POST_STATE_T getCurrentInitAndPOSTState( void ); // get the current state of the init. & POST mode. + BOOL isPOSTCompleted( void ); BOOL isPOSTPassed( void ); +/**@}*/ + #endif