Index: firmware/App/Modes/ModeInitPOST.c =================================================================== diff -u -r4459be59bdc2896b44bcf6cd42d2762190e23c16 -ra1daba982e3117ce45437384e770b50cfda7b7a7 --- firmware/App/Modes/ModeInitPOST.c (.../ModeInitPOST.c) (revision 4459be59bdc2896b44bcf6cd42d2762190e23c16) +++ firmware/App/Modes/ModeInitPOST.c (.../ModeInitPOST.c) (revision a1daba982e3117ce45437384e770b50cfda7b7a7) @@ -37,17 +37,17 @@ // ********** private data ********** -static HD_POST_STATE_T postState = POST_STATE_START; -static BOOL postCompleted = FALSE; -static BOOL postPassed = FALSE; -static BOOL tempPOSTPassed = TRUE; +static HD_POST_STATE_T postState = POST_STATE_START; ///< Current state of initialize and POST mode. +static BOOL postCompleted = FALSE; ///< Flag indicates whether POST is completed. +static BOOL postPassed = FALSE; ///< Flag indicates all POST tests passed. +static BOOL tempPOSTPassed = TRUE; ///< Flag indicates all POST tests have passed so far. // ********** private function prototypes ********** static HD_POST_STATE_T handlePOSTStatus( SELF_TEST_STATUS_T testStatus ); -/************************************************************************* - * @brief initInitAndPOSTMode +/*********************************************************************//** + * @brief * The initInitAndPOSTMode function initializes the Initialize & POST Mode module. * @details * Inputs : none @@ -62,25 +62,25 @@ tempPOSTPassed = TRUE; } -/************************************************************************* - * @brief transitionToInitAndPOSTMode +/*********************************************************************//** + * @brief * The transitionToInitAndPOSTMode function prepares for transition to * initialize & POST mode. * @details * Inputs : none - * Outputs : + * Outputs : none * @return none *************************************************************************/ void transitionToInitAndPOSTMode( void ) { } -/************************************************************************* - * @brief execInitAndPOSTMode +/*********************************************************************//** + * @brief * The execInitAndPOSTMode function executes the Initialize & POST Mode state machine. * @details - * Inputs : none - * Outputs : + * Inputs : postState + * Outputs : postState, postPassed, postCompleted * @return current state (sub-mode) *************************************************************************/ U32 execInitAndPOSTMode( void ) @@ -181,8 +181,8 @@ return postState; } -/************************************************************************* - * @brief isPOSTCompleted +/*********************************************************************//** + * @brief * The isPOSTCompleted function determines whether all HD POST have * been run and completed. If true, call the isPOSTPassed() to see final * result (pass/fail).