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


Interface   Data Structures   File List   Data Fields   Globals  

CDF_acd_std.h File Reference

Public interface to produce Compressed Data Format for the AEM contributor when in normal readout (zero suppression enabled) mode. More...


Functions

unsigned int CDF_acd_std_compress (CDF_acd *cdf, unsigned int *buf, unsigned int pos, const EDR_acd *acd, const EBF_gem *gem)
 Adds the ACD record proper and the ACD portion of the GEM.
unsigned int CDF_acd_std_copy (CDF_acd *cdf, unsigned int *buf, unsigned int pos, unsigned int status, const unsigned int *dat, unsigned int nbytes)


Detailed Description

Public interface to produce Compressed Data Format for the AEM contributor when in normal readout (zero suppression enabled) mode.

Author:
JJRussell - russell@slac.stanford.edu
    CVS $Id: CDF_acd_std.h,v 1.1 2006/11/01 21:57:25 russell Exp $


Function Documentation

unsigned int CDF_acd_std_compress ( CDF_acd cdf,
unsigned int *  buf,
unsigned int  pos,
const EDR_acd *  acd,
const EBF_gem *  gem 
)

Adds the ACD record proper and the ACD portion of the GEM.

Returns:
The next available bit position in the output buffer
Parameters:
cdf The ACD compression data formatting handle
buf The output buffer
pos The current bit offset
acd The input EDR_acd record
gem The input EBF_gem record
The only error condition that this routine can deal with is PHA parity errors.


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