GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LSE / V1-3-4

Constituent: lsew     Tag: sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

CDF_acd_maps.h File Reference

Contains pre-canned maps for the ACD packing. More...

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


Defines

#define _CDF_ACD_PAT_MAP(_n, _p)   (((_p) << 4) | _n)
 Composes a 16 bit value of a 12 bit pattern and 4 bit length This is used to compress the ACD.
#define _CDF_ACD_PAT_MAP_N(_m)   ((_m) & 0xf)
 Extracts the length field from the map.
#define _CDF_ACD_PAT_MAP_P(_m)   (((_m) >> 4) & 0xfff)
 Extracts the right justified pattern from the map.
#define _CDF_ACD_PAT_MAP_STD
 Defines the ACD standard encoding map.

Detailed Description

Contains pre-canned maps for the ACD packing.

Author:
JJRussell - russell@slac.stanford.edu
   CVS $Id: CDF_acd_maps.h,v 1.2 2006/11/19 15:42:19 russell Exp $

Define Documentation

#define _CDF_ACD_PAT_MAP _n,
_p   )     (((_p) << 4) | _n)
 

Composes a 16 bit value of a 12 bit pattern and 4 bit length This is used to compress the ACD.

Returns:
The composed value
Parameters:
_n The length of the pattern in bits, must bit < 12
_p The pattern. The number of significant bits must < 12.

#define _CDF_ACD_PAT_MAP_N _m   )     ((_m) & 0xf)
 

Extracts the length field from the map.

Returns:
The extracted length field
Parameters:
_m The map value

#define _CDF_ACD_PAT_MAP_P _m   )     (((_m) >> 4) & 0xfff)
 

Extracts the right justified pattern from the map.

Returns:
The right justified pattern
Parameters:
_m The map value


Generated on Wed Dec 5 02:36:09 2007 by  doxygen 1.4.4