GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> QSE / V2-3-0 > qse / sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

QDF_cal_prd.c File Reference

Implementation for the CAL Compressed Data Format used to predict one range from another. More...

#include "QDF_cal_prd.h"
#include "QDF_cal_prd_def.h"
#include "EDS/ECR_cal.h"
#include "EDS/EDA_cal.h"
#include <string.h>
#include "dprintf.h"

Functions

unsigned int QDF_cal_prd_sizeof (void)
 Returns the size, in bytes, of a QDF_cal_prd structure.
int QDF_cal_prd_construct (QDF_cal_prd *prd, const ECR_cal *cal)
 Fills the range prediction data structures.


Detailed Description

Implementation for the CAL Compressed Data Format used to predict one range from another.

Author:
JJRussell - russell@slac.stanford.edu
    CVS $Id: QDF_cal_prd.c,v 1.1 2006/11/10 22:35:51 russell Exp $


Function Documentation

void QDF_cal_prd_construct ( QDF_cal_prd prd,
const ECR_cal *  cal 
)

Fills the range prediction data structures.

Returns:
Status. Currently the only failure mode is if one of the generated constants occupies more bits than it is allocated.
Parameters:
prd The range prediction data structure to fill
cal The CAL calibration constants used in the filling of the range prediction data structure

unsigned int QDF_cal_prd_sizeof ( void   ) 

Returns the size, in bytes, of a QDF_cal_prd structure.

Returns:
The size, in bytes, of a QDF_cal_prd structure


Generated on Thu Sep 2 14:54:53 2010 by  doxygen 1.5.3