GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LSE / V2-2-3 > lsew / rhel5-32


Interface   Data Structures   File List   Data Fields   Globals  

CDF_dgn_ped_tkr.h File Reference

Interface to the routines to compress the TKR diagnostic bits in pedestal readout mode. More...


Typedefs

typedef struct _CDF_dgn_ped_tkr CDF_dgn_ped_tkr
typedef struct _CDF_dgn_ped_tkr_cfg CDF_dgn_ped_tkr_cfg
typedef struct _LSEW_dgmFw LSEW_dgmFw
typedef struct _EBF_dir EBF_dir

Functions

int CDF_dgn_ped_tkr_cfg_sizeof (int level)
 Returns the size, in bytes of the DGN compression configuration needed to support the specified level.
int CDF_dgn_ped_tkr_cfg_construct (CDF_dgn_ped_tkr_cfg *cfg, int level, void **mem)
 Constructs the CDF_dgn_ped_tkr_cfg compression configuration.
int CDF_dgn_ped_tkr_sizeof (int level, const CDF_dgn_ped_tkr_cfg *cfg)
 Returns the size, in bytes of the CAL DGN compression structure needed to support the specified level.
int CDF_dgn_ped_tkr_construct (CDF_dgn_ped_tkr *cdf, int level, const CDF_dgn_ped_tkr_cfg *cfg, const LSEW_dgmFw *dgmFw, void **mem)
unsigned int CDF_dgn_ped_tkr_compress (CDF_dgn_ped_tkr *cdf, unsigned int *buf, unsigned int pos, unsigned int const **dgns, const EBF_dir *dir, unsigned int map, unsigned int err_ids)


Detailed Description

Interface to the routines to compress the TKR diagnostic bits in pedestal readout mode.

Author:
JJRussell - russell@slac.stanford.edu

   CVS $Id: CDF_dgn_ped_tkr.h,v 1.1 2009/04/30 18:21:08 russell Exp $

Function Documentation

int CDF_dgn_ped_tkr_cfg_construct ( CDF_dgn_ped_tkr_cfg *  cfg,
int  level,
void **  mem 
)

Constructs the CDF_dgn_ped_tkr_cfg compression configuration.

Return values:
Status 
Parameters:
cfg Target specific configuration
level The maximum compression level that needs to be supported
mem Pointer to free memory pointer, return as the the updated pointer. If cfg is equal to the current contents of mem, then mem will be advanced by the size of CDF_dgnCfg else this routine will believe that the only the variable allocation of cdf needs to be allocated.

Referenced by CDF_dgn_ped_cfg_construct().

int CDF_dgn_ped_tkr_cfg_sizeof ( int  level  ) 

Returns the size, in bytes of the DGN compression configuration needed to support the specified level.

Parameters:
level The maximum compression level to support

Referenced by CDF_dgn_ped_cfg_sizeof().

int CDF_dgn_ped_tkr_sizeof ( int  level,
const CDF_dgn_ped_tkr_cfg *  cfg 
)

Returns the size, in bytes of the CAL DGN compression structure needed to support the specified level.

Parameters:
level The maximum compression level to support
cfg Target specific configuration

Referenced by CDF_dgn_ped_sizeof().


Generated on Fri Nov 30 11:07:27 2012 by  doxygen 1.5.8