GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LSE / V2-0-2 > lsew / sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

LSE_did.h File Reference

Defines the Data Identifier used to uniquely tag every data packet. More...

#include "EDS/EDS_endianness.h"

Classes

struct  _LSE_did_pid_bf
 The first of 3 32-bit words in the data identifier containing the primary identifiers, the ground identifier, the data source origin and the cpu identifier, as bit fields. More...
union  _LSE_did_pid
 Union of the uninterpretted 32-bit integrer and bit-field representations of the primary ID word of the Data Identifier. More...
struct  _LSE_did_mcd_bf
 The second 32-bit word of the 96-bit Data Identifier containing the current mode, the mode change count and the datagram sequence count, as bit fields. More...
union  _LSE_did_mcd
 Union of the uninterpretted 32-bit integrer and bit-field representations of the mode, mode change count and datagram count of the Data Identifier. More...
struct  _LSE_did
 The Data Identifier. More...

Typedefs

typedef enum
_LSE_DID_PID_S 
LSE_DID_PID_S
 Typedef for enum _LSE_DID_PID_S.
typedef enum
_LSE_DID_PID_V 
LSE_DID_PID_V
 Typedef for enum _LSE_DID_PID_V.
typedef enum
_LSE_DID_PID_M 
LSE_DID_PID_M
 Typedef for enum _LSE_DID_PID_M.
typedef struct
_LSE_did_pid_bf 
LSE_did_pid_bf
 Typedef of struct _LSE_did_pid.
typedef union
_LSE_did_pid 
LSE_did_pid
 Typedef for union _LSE_did_pid.
typedef enum
_LSE_DID_MCD_S 
LSE_DID_MCD_S
 Typedef for enum _LSE_DID_MCD_S.
typedef enum
_LSE_DID_MCD_V 
LSE_DID_MCD_V
 Typedef for enum _LSE_DID_MCD_V.
typedef enum
_LSE_DID_MCD_M 
LSE_DID_MCD_M
 Typedef for enum _LSE_DID_MCD_M.
typedef struct
_LSE_did_mcd_bf 
LSE_did_mcd_bf
 Typedef for LSE_did_mcd_bf.
typedef union
_LSE_did_mcd 
LSE_did_mcd
 Typedef for union _LSE_did_mcd.
typedef struct _LSE_did LSE_did
 Typedef for struct _LSE_did.

Enumerations

enum  _LSE_DID_PID_S {
  LSE_DID_PID_S_ORIGIN = 4,
  LSE_DID_PID_S_CPU = 4,
  LSE_DID_PID_S_RUN = 24
}
 The fields in the data identifier containing the primary identifiers, sizes in bits. More...
enum  _LSE_DID_PID_V {
  LSE_DID_PID_V_ORIGIN = 28,
  LSE_DID_PID_V_CPU = 24,
  LSE_DID_PID_V_RUN = 0
}
 The fields in the data identifier containing the primary identifiers, right justfified bit offsets. More...
enum  _LSE_DID_PID_M {
  LSE_DID_PID_M_ORIGIN = ((1 << LSE_DID_PID_S_ORIGIN)-1)<<LSE_DID_PID_V_ORIGIN,
  LSE_DID_PID_M_CPU = ((1 << LSE_DID_PID_S_CPU) - 1) << LSE_DID_PID_V_CPU,
  LSE_DID_PID_M_RUN = ((1 << LSE_DID_PID_S_RUN) - 1) << LSE_DID_PID_V_RUN
}
 The fields in the data identifier containing the primary identifiers, in place masks. More...
enum  _LSE_DID_MCD_S {
  LSE_DID_MCD_S_MODE = 4,
  LSE_DID_MCD_S_CHG = 8,
  LSE_DID_MCD_S_DGM = 20
}
 The fields in the data identifier containing the mode, mode change count and datagram sequence fields, sizes in bits. More...
enum  _LSE_DID_MCD_V {
  LSE_DID_MCD_V_MODE = 28,
  LSE_DID_MCD_V_CHG = 20,
  LSE_DID_MCD_V_DGM = 0
}
 The fields in the data identifier containing the mode, mode change count and the datagram sequence fields, right justified bit offset. More...
enum  _LSE_DID_MCD_M {
  LSE_DID_MCD_M_MODE = ((1 << LSE_DID_MCD_S_MODE) - 1) << LSE_DID_MCD_V_MODE,
  LSE_DID_MCD_M_CHG = ((1 << LSE_DID_MCD_S_CHG ) - 1) << LSE_DID_MCD_V_CHG,
  LSE_DID_MCD_M_DGM = ((1 << LSE_DID_MCD_S_DGM ) - 1) << LSE_DID_MCD_V_DGM
}
 The fields in the data identifier containing the mode, mode change count and the datagram sequence fields, in place mask. More...


Detailed Description

Defines the Data Identifier used to uniquely tag every data packet.

Author:
JJRussell - russell@slac.stanford.edu

   CVS $Id: LSE_did.h,v 1.2 2005/10/03 21:06:02 russell Exp $

Typedef Documentation

LSE_did

Typedef for struct _LSE_did.

Overview
The LSE_did uniquely identifies every data packet. That is, no two packets should every have exactly the same LSE_did. It accomplishishes this using 3-32 bit integer broken into a few subfields


Enumeration Type Documentation

enum _LSE_DID_MCD_M

The fields in the data identifier containing the mode, mode change count and the datagram sequence fields, in place mask.

Enumerator:
LSE_DID_MCD_M_MODE  The data-taking mode identifier, in place mask
LSE_DID_MCD_M_CHG  The change sequence number, in place mask
LSE_DID_MCD_M_DGM  The LDF datagram sequence number, in plac mask

enum _LSE_DID_MCD_S

The fields in the data identifier containing the mode, mode change count and datagram sequence fields, sizes in bits.

Enumerator:
LSE_DID_MCD_S_MODE  The data-taking mode identifier, field size, in bits
LSE_DID_MCD_S_CHG  The change sequence number, field size, in bits
LSE_DID_MCD_S_DGM  The LSE datagram sequence number, field size, in bits

enum _LSE_DID_MCD_V

The fields in the data identifier containing the mode, mode change count and the datagram sequence fields, right justified bit offset.

Enumerator:
LSE_DID_MCD_V_MODE  The data-taking mode identifier, right justified bit offset
LSE_DID_MCD_V_CHG  Th change sequence number, right justified bit field offset
LSE_DID_MCD_V_DGM  The LSE datagram sequence number, right justified bit field offset

enum _LSE_DID_PID_M

The fields in the data identifier containing the primary identifiers, in place masks.

Enumerator:
LSE_DID_PID_M_ORIGIN  The data production origin, in place mask
LSE_DID_PID_M_CPU  The CPU identifier, in place mask
LSE_DID_PID_M_RUN  The ground identifier, in place mask

enum _LSE_DID_PID_S

The fields in the data identifier containing the primary identifiers, sizes in bits.

Enumerator:
LSE_DID_PID_S_ORIGIN  The data production origin, field size, in bits
LSE_DID_PID_S_CPU  The CPU identifier, field size, in bits
LSE_DID_PID_S_RUN  The run identifier, field size, in bits

enum _LSE_DID_PID_V

The fields in the data identifier containing the primary identifiers, right justfified bit offsets.

Enumerator:
LSE_DID_PID_V_ORIGIN  The data production origin, right justified bit field offset
LSE_DID_PID_V_CPU  The CPU identifier, right justified bit field offset
LSE_DID_PID_V_RUN  The run identifier, right justified bit offset


Generated on Mon Jul 26 16:55:27 2010 by  doxygen 1.5.3