/**********************************************************************//** * * 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 ModeService.h * * @date 19-Sep-2019 * @author S. Nash * * @brief Header file for Service Mode. * **************************************************************************/ #ifndef __MODE_SERVICE_H__ #define __MODE_SERVICE_H__ #include "DGCommon.h" #include "DGModes.h" /** * @defgroup ServiceMode ServiceMode * @brief Service mode module. * Manages service mode functions via a state machine. * * @addtogroup ServiceMode * @{ */ // ********** public definitions ********** // ********** private function prototypes ********** void initServiceMode( void ); // initialize this module void transitionToServiceMode( void ); // prepares for transition to service mode U32 execServiceMode( void ); // execute the service mode state machine (call from OperationModes) DG_SERVICE_STATE_T getCurrentServiceState( void ); // get the current state of the service mode. /**@}*/ #endif