GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LSE / V2-0-2 > lsew / rad750
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. |
CVS $Id: CDF_acd_maps.h,v 1.2 2006/11/19 15:42:19 russell Exp $
#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.
_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.
_m | The map value |
#define _CDF_ACD_PAT_MAP_P | ( | _m | ) | (((_m) >> 4) & 0xfff) |
Extracts the right justified pattern from the map.
_m | The map value |