GLAST/LAT >
DAQ and FSW >
FSW >
Doxygen Index >
LDT / V0-3-2
Constituent: encdec     Tag: mv2304
Interface Data Structures File List Data Fields Globals
BTD.c File Reference
Binary Tree Encoding routines. More...
#include "ffs.h"
#include "LDT/BTD.h"
Include dependency graph for BTD.c:
|
Functions |
unsigned int | BTD_wordDecode (unsigned int w, unsigned int scheme, int *nbits) |
| Decodes the bits in w according to scheme.
|
Detailed Description
Binary Tree Encoding routines.
- Author:
- JJRussell - russell@slac.stanford.edu
Routines to encode bit strings using a binary tree
Function Documentation
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 Thu Dec 7 05:02:00 2006 by
1.4.4