/************************************************************************** * * 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 ModeInitPOST.h * * @author (last) Vinayakam Mani * @date (last) 06-Aug-2024 * * @author (original) Vinayakam Mani * @date (original) 05-Aug-2024 * ***************************************************************************/ #ifndef __MODE_INIT_POST_H__ #define __MODE_INIT_POST_H__ #include "DDCommon.h" #include "DDDefs.h" /** * @defgroup DDInitAndPOSTMode DDInitAndPOSTMode * @brief Initialization and POST mode unit. Manages initialization and POST mode functions via a state machine. * * @addtogroup DDInitAndPOSTMode * @{ */ // ********** public definitions ********** // ********** public function prototypes ********** void initInitAndPOSTMode( void ); // initialize this unit U32 transitionToInitAndPOSTMode( void ); // prepares for transition to init. & POST mode U32 execInitAndPOSTMode( void ); // execute the init. & POST mode state machine (call from OperationModes) DD_POST_STATE_T getCurrentInitAndPOSTState( void ); // get the current state of the init. & POST mode. BOOL isPOSTCompleted( void ); BOOL isPOSTPassed( void ); /**@}*/ #endif