Index: firmware/App/Modes/ModeInitPOST.h =================================================================== diff -u -r30f049651877229042e3f8700c8596e5b9a1e0f4 -rcd5be724d5a3ba7457e761191d82f278654d7f5c --- firmware/App/Modes/ModeInitPOST.h (.../ModeInitPOST.h) (revision 30f049651877229042e3f8700c8596e5b9a1e0f4) +++ firmware/App/Modes/ModeInitPOST.h (.../ModeInitPOST.h) (revision cd5be724d5a3ba7457e761191d82f278654d7f5c) @@ -1,17 +1,17 @@ /************************************************************************** * -* Copyright (c) 2019-2020 Diality Inc. - All Rights Reserved. +* Copyright (c) 2019-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 +* @file ModeInitPOST.h * -* @author (last) Sean Nash -* @date (last) 29-May-2020 +* @author (last) Sean Nash +* @date (last) 08-Aug-2023 * -* @author (original) Dara Navaei -* @date (original) 05-Nov-2019 +* @author (original) Dara Navaei +* @date (original) 05-Nov-2019 * ***************************************************************************/ @@ -23,20 +23,28 @@ /** * @defgroup HDInitAndPOSTMode HDInitAndPOSTMode - * @brief Init&POST mode module. + * @brief Initialization and POST mode module. Manages initialization and POST + * mode functions via a state machine. * * @addtogroup HDInitAndPOSTMode * @{ */ -// ********** private function prototypes ********** +// ********** public function prototypes ********** void initInitAndPOSTMode( void ); // Initialize this module -void transitionToInitAndPOSTMode( void ); // Prepares for transition to init. & POST mode +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 signalDGPOSTFinalResult( BOOL passed ); // Record DG POST result +void signalUIVersion( UI_VERSIONS_T version ); // Record UI version info +void signalDGVersion( DG_VERSIONS_T version ); // Record DG version info +DG_VERSIONS_T getDGVersion( void ); // Get DG version info +BOOL getDGPOSTPassed( void ); // Get DG POST pass/fail status /**@}*/