Index: firmware/App/Modes/OperationModes.h =================================================================== diff -u -r090cfb22a7c0b4738299c3fb411ca77aaba8d968 -r48ca7fd644c67920acc29a80b7af379d0a134d1a --- firmware/App/Modes/OperationModes.h (.../OperationModes.h) (revision 090cfb22a7c0b4738299c3fb411ca77aaba8d968) +++ firmware/App/Modes/OperationModes.h (.../OperationModes.h) (revision 48ca7fd644c67920acc29a80b7af379d0a134d1a) @@ -22,10 +22,10 @@ #include "DDDefs.h" #include "TDDefs.h" /** - * @defgroup DGOperationModes DGOperationModes - * @brief Operation Modes module. Manages the top level operation modes of the DG via a state machine. + * @defgroup DDOperationModes DDOperationModes + * @brief Operation Modes unit. Manages the top level operation modes of the DD via a state machine. * - * @addtogroup DGOperationModes + * @addtogroup DDOperationModes * @{ */ @@ -46,9 +46,10 @@ TD_OP_MODE_T tdMode; ///< TD mode U32 tdSubMode; ///< TD submode } TD_MODE_SUB_MODE_T; + // ********** public function prototypes ********** -void initOperationModes( void ); // initialize this module +void initOperationModes( void ); // initialize this unit void execOperationModes( void ); // execute the operation modes state machine (scheduled periodic call) void requestNewOperationMode( DD_OP_MODE_T newMode ); // request a transition to a new operation mode DD_OP_MODE_T getCurrentOperationMode( void ); // get the current operation mode @@ -59,9 +60,8 @@ void setTDOperationMode( U32 mode, U32 subMode ); // set TD operation mode which is received from TD void getTDOperationMode( TD_MODE_SUB_MODE_T* mode ); // get TD operation mode -BOOL testSetOperationMode( DD_OP_MODE_T newMode ); // Force transition to a given mode (if allowed) -BOOL testSetDGOpModePublishIntervalOverride( U32 value ); -BOOL testResetDGOpModePublishIntervalOverride( void ); +BOOL testSetOperationMode( MESSAGE_T *message ); // Force transition to a given mode (if allowed) +BOOL testDDOpModePublishIntervalOverride( MESSAGE_T *message ); // DD Opmode publish interval override /**@}*/