GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> QSE / V2-3-0 > qse / sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

QDF_exc_def.h File Reference

Definition of the QDF decoding exception block. More...

#include <setjmp.h>

Classes

struct  _QDF_exc
 The exception handling context. More...

Typedefs

typedef enum _QDF_excType QDF_excType
 Typedef for enum _QDF_excType.
typedef enum
_QDF_excSubsystem 
QDF_excSubsystem
 Typedef for enum _QDF_excSubsystem.
typedef struct _QDF_exc QDF_exc

Enumerations

enum  _QDF_excType {
  QDF_EXCTYPE_K_STD = 0,
  QDF_EXCTYPE_K_PED = 1,
  QDF_EXCTYPE_K_CLB = 2,
  QDF_EXCTYPE_K_ERR = 3
}
 Enumeration of the major compression types. More...
enum  _QDF_excSubsystem {
  QDF_EXCSUBSYSTEM_K_ACD = 0x00,
  QDF_EXCSUBSYSTEM_K_TKR = 0x01,
  QDF_EXCSUBSYSTEM_K_CAL = 0x02,
  QDF_EXCSUBSYSTEM_K_GEM = 0x03,
  QDF_EXCSUBSYSTEM_K_ESB = 0x04,
  QDF_EXCSUBSYSTEM_K_TKR_TEM = 0x10,
  QDF_EXCSUBSYSTEM_K_CAL_TEM = 0x20,
  QDF_EXCSUBSYSTEM_K_ERR_TEM = 0x40,
  QDF_EXCSUBSYSTEM_K_DGN_TEM = 0x80
}
 Enumeration of the subsystem. More...

Functions

static __inline
unsigned int 
QDF__excStatusCompose (QDF_excType type, QDF_excSubsystem subsystem, unsigned char component, unsigned short int reason)
 Composes a standard status code to be returned as the exception reason.


Detailed Description

Definition of the QDF decoding exception block.

Author:
JJRussell - russell@slac.stanford.edu

   CVS $Id: QDF_exc_def.h,v 1.3 2009/05/01 01:26:58 russell Exp $

Enumeration Type Documentation

enum _QDF_excSubsystem

Enumeration of the subsystem.

Enumerator:
QDF_EXCSUBSYSTEM_K_ACD  ACD
QDF_EXCSUBSYSTEM_K_TKR  Tracker (not TEM specific)
QDF_EXCSUBSYSTEM_K_CAL  CAL (not TEM specific)
QDF_EXCSUBSYSTEM_K_GEM  GEM
QDF_EXCSUBSYSTEM_K_ESB  Event Summary Block
QDF_EXCSUBSYSTEM_K_TKR_TEM  Tracker TEM
QDF_EXCSUBSYSTEM_K_CAL_TEM  CAL TEM
QDF_EXCSUBSYSTEM_K_ERR_TEM  ERR TEM
QDF_EXCSUBSYSTEM_K_DGN_TEM  Diagnostic TEM

enum _QDF_excType

Enumeration of the major compression types.

Enumerator:
QDF_EXCTYPE_K_STD  Standard (physics) compression
QDF_EXCTYPE_K_PED  Pedestal (non-zero suppressed) compression
QDF_EXCTYPE_K_CLB  Calibration compression
QDF_EXCTYPE_K_ERR  Error event


Function Documentation

static __inline unsigned int QDF__excStatusCompose ( QDF_excType  type,
QDF_excSubsystem  subsystem,
unsigned char  component,
unsigned short int  reason 
) [static]

Composes a standard status code to be returned as the exception reason.

Returns:
The composed status code
Parameters:
type Compress type,
See also:
QDF_excType
Parameters:
subsystem Which subsystem,
See also:
QDF_excSubsystem
Parameters:
component Valid only for
  • QDF_EXCSUBSYSTEM_K_CAL_TEM
  • QDF_EXCSUBSYSTEM_K_TKR_TEM.
  • QDF_EXCSUBSYSTEM_K_ERR_TEM.
  • QDF_EXCSUBSYSTEM_K_DGN_TEM. In these cases component must be 0-15, i.e. a valid tower/tem number In all other cases it must be 0.
reason Application specific reason


Generated on Thu Sep 2 14:54:54 2010 by  doxygen 1.5.3