GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > MEM / V5-4-1

Constituent: mem     Tag: mv2304


Interface   Data Structures   File List   Data Fields   Globals  

MEM_control.h File Reference

Interface to the MEM_control.c functions. More...

#include "ITC/ITC_pubdefs.h"
#include "MEM/MEM_cmddefs.h"
#include "MEM/MEM_dump.h"
#include "MEM/MEM_pubdefs.h"
#include "MEM/MEM_tlmdefs.h"
#include "PBS/FPA.h"
#include "PBS/MTX.h"
#include "PBS/WUT.h"

Include dependency graph for MEM_control.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Data Structures

union  _MEM_Cmd_Tlm
 Union of MEM command and telemetry packets. More...

struct  _MEM_Control
 MEM control information block. More...


Typedefs

typedef enum _MEM_Control_State MEM_Control_State
 Typedef for _MEM_Control_State.

typedef _MEM_Control MEM_Control
 Typedef for _MEM_Control.

typedef _MEM_Cmd_Tlm MEM_Cmd_Tlm
 Typedef for _MEM_Cmd_Tlm.


Enumerations

enum  _MEM_Control_State {
  MEM_STATE_UNINITIALIZED = 1 << 0,
  MEM_STATE_INITIALIZING = 1 << 1,
  MEM_STATE_INIT_FAIL = 1 << 2,
  MEM_STATE_INITIALIZED = 1 << 3,
  MEM_STATE_SHUTDOWN = 1 << 4,
  MEM_STATE_SHUTDOWN_FAIL = 1 << 5
}
 MEM control state. More...


Functions

unsigned int MEM_updateStats (MEM_Control *ctl_p, unsigned int msg_status, unsigned int fcode)
 Common routine to update MEM command statistics.


Variables

MEM_ControlMem_control_p
 Pointer to the MEM control information block.


Detailed Description

Interface to the MEM_control.c functions.

    CVS $Id: MEM_control.h,v 1.15 2005/08/12 15:51:38 dmay Exp $
    

Defines the interface to the functions found in MEM_control.c.


Enumeration Type Documentation

enum _MEM_Control_State
 

MEM control state.

Enumeration values:
MEM_STATE_UNINITIALIZED  The MEM functions have not been initialized. Use MEM_initialize() to initialize them.
MEM_STATE_INITIALIZING  The MEM functions are in the process of being initialized by MEM_initialize().
MEM_STATE_INIT_FAIL  MEM_initialize() failed - use MEM_shutdown() to return to MEM_STATE_UNINITIALIZED.
MEM_STATE_INITIALIZED  The MEM functions have been initialized by MEM_initialize() and are ready to be used.
MEM_STATE_SHUTDOWN  The MEM functions are in the process of being shutdown by MEM_shutdown().
MEM_STATE_SHUTDOWN_FAIL  MEM_shutdown() failed - use MEM_shutdown() again to return to MEM_STATE_UNINITIALIZED.


Function Documentation

unsigned int MEM_updateStats MEM_Control ctl_p,
unsigned int  msg_status,
unsigned int  fcode
 

Common routine to update MEM command statistics.

Parameters:
ctl_p Pointer to MEM control block.
msg_status Status MSG code for the command.
fcode Function code for the command.
Returns:
MSG code.

Here is the call graph for this function:


Variable Documentation

MEM_Control * Mem_control_p
 

Pointer to the MEM control information block.

Pointer to the control block (state) for the MEM application-level functions.


Generated on Mon Aug 15 23:35:50 2005 by doxygen 1.3.3