GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LDT / V0-4-0

Constituent: encdec     Tag: rad750


Interface   Data Structures   File List   Data Fields   Globals  

BTD.h File Reference

Binary Tree Dencoding interface file. More...

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


Functions

unsigned int BTD_wordDecode (unsigned int w, unsigned int scheme, int *nbits)
 Decodes the bits in w according to scheme.
unsigned int BTD_shortDecode (unsigned short int s, unsigned int scheme, int *nbits)
 Decodes the bits in w according to scheme.

Detailed Description

Binary Tree Dencoding interface file.

Author:
JJRussell - russell@slac.stanford.edu
    CVS $Id: BTD.h,v 1.3 2009/04/29 23:06:40 russell Exp $

Interface specification for routines to decode bit strings previously binary tree encoded data.


Function Documentation

unsigned int BTD_shortDecode ( unsigned short int  s,
unsigned int  scheme,
int *  nbits 
)

Decodes the bits in w according to scheme.

Returns:
The decoded short word
Parameters:
s The encoded bits
scheme The encoding scheme
nbits Returns the number of bits decoded.

unsigned int BTD_wordDecode ( unsigned int  w,
unsigned int  scheme,
int *  nbits 
)

Decodes the bits in w according to scheme.

Returns:
The decoded word
Parameters:
w The encoded bits
scheme The encoding scheme
nbits Returns the number of bits decoded.


Generated on Fri Jun 19 01:48:06 2009 by  doxygen 1.5.3