GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> QSSP / V1-1-1 > qssp / sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

QSSP_point.c File Reference

Support routines for the QSSP_point structure. More...

#include <QSSP/QSSP_point.h>
#include <EDS/EBF_gem.h>

Functions

unsigned long long int QSSP_pointV0TimeCompute (const QSSP_pointV0 *point)
 Computes the time, in nanoseconds of the current time. If there is an error, -1 is returned;.
void QSSP_pointV0Complete (QSSP_pointV0 *point)
 Completes the derived values in the QSSP_pointV0 structure.


Detailed Description

Support routines for the QSSP_point structure.

Author:
JJRussell - russell@slac.stanford.edu

   CVS $Id: QSSP_point.c,v 1.2 2011/03/29 00:14:57 russell Exp $

Function Documentation

void QSSP_pointV0Complete ( QSSP_pointV0 point  ) 

Completes the derived values in the QSSP_pointV0 structure.

Parameters:
point The sample point header to complete

References QSSP_pointV0TimeCompute(), _QSSP_pointV0::status, and _QSSP_pointV0::time.

Referenced by pointV0_transfer(), qssp_pointV0_copy(), QSSP_spanV0DecodeDiff(), and QSSP_spanV1DecodeDiff().

unsigned long long int QSSP_pointV0TimeCompute ( const QSSP_pointV0 point  ) 

Computes the time, in nanoseconds of the current time. If there is an error, -1 is returned;.

Parameters:
point The sample point header to compute the time of

References _QSSP_pointV0::gemClock, and _QSSP_pointV0::timetones.

Referenced by QSSP_pointV0Complete().


Generated on Wed Nov 21 21:12:51 2012 by  doxygen 1.5.8