/************************************************************************** * * Copyright (c) 2024-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 ModeInitPOST.h * * @author (last) Sean Nash * @date (last) 26-Aug-2024 * * @author (original) Sean Nash * @date (original) 01-Aug-2024 * ***************************************************************************/ #ifndef __MODE_INIT_POST_H__ #define __MODE_INIT_POST_H__ #include "TDCommon.h" #include "TDDefs.h" /** * @defgroup TDInitAndPOSTMode TDInitAndPOSTMode * @brief Initialization and POST mode unit. Manages initialization and POST * mode functions via a state machine. * * @addtogroup TDInitAndPOSTMode * @{ */ // ********** 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) BOOL isPOSTCompleted( void ); // Determine whether POST has completed yet BOOL isPOSTPassed( void ); // Determine whether POST has passed BOOL isDGPOSTPassed( void ); // Determine whether DG POST has passed void signalAlarmActionToInitAndPOSTMode( ALARM_ACTION_T action ); // Execute alarm action as appropriate for fault mode void signalUIPOSTFinalResult( BOOL passed ); // Record UI POST result void signalDDPOSTFinalResult( BOOL passed ); // Record DD POST result void signalUIVersion( UI_VERSIONS_T version ); // Record UI version info void signalDDVersion( DD_VERSIONS_T version ); // Record DD version info DD_VERSIONS_T getDDVersion( void ); // Get DD version info BOOL getDDPOSTPassed( void ); // Get DD POST pass/fail status /**@}*/ #endif