/************************************************************************** * * Copyright (c) 2019-2020 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) Sean Nash * @date (last) 29-May-2020 * * @author (original) Dara Navaei * @date (original) 05-Nov-2019 * ***************************************************************************/ #ifndef __MODE_INIT_POST_H__ #define __MODE_INIT_POST_H__ #include "HDCommon.h" #include "HDDefs.h" /** * @defgroup HDInitAndPOSTMode HDInitAndPOSTMode * @brief Init&POST mode module. * * @addtogroup HDInitAndPOSTMode * @{ */ // ********** public function prototypes ********** void initInitAndPOSTMode( void ); // Initialize this module void transitionToInitAndPOSTMode( void ); // Prepares for transition to init. & POST mode U32 execInitAndPOSTMode( void ); // Execute the init. & POST mode state machine (call from OperationModes) BOOL isPOSTCompleted( void ); // Determine whether POST has completed yet BOOL isPOSTPassed( void ); // Determine whether POST has passed void signalAlarmActionToInitAndPOSTMode( ALARM_ACTION_T action ); // Execute alarm action as appropriate for fault mode /**@}*/ #endif