GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> QLSM / V2-0-1 > qlsm / rhel5-64


Interface   Data Structures   File List   Data Fields   Globals  

QLSM_attitudeExpand.c File Reference

QLSM attitude expansion utilities. More...

#include <QLSM/QLSM_attitude.h>
#include <BSWP_fd.ih>
#include <LSM/../src/LSM_ssrdefs.h>
#include <PBI/BSWP.ih>
#include <string.h>

Functions

int QLSM_attitudeExpandV1 (QLSM_attitude *attitude, const unsigned int *buf, int len32)
 Routine to expand the input data into a second buffer.


Detailed Description

QLSM attitude expansion utilities.

Author:
JJRussell - russell@slac.stanford.edu

   CVS $Id: QLSM_attitudeExpand.c,v 1.2 2011/03/30 21:53:58 russell Exp $

Function Documentation

int QLSM_attitudeExpandV1 ( QLSM_attitude attitude,
const unsigned int *  buf,
int  len32 
)

Routine to expand the input data into a second buffer.

Return values:
0,successful 
-1,bad length on the input buffer
Parameters:
attitude The output buffer
buf The input buffer
len32 The size, in longwords, of the unexpanded data

References BSWP__loadDoubleb(), BSWP__loadFloatb(), _QLSM_attitude::q, _QLSM_attitude::secs, _QLSM_attitude::unused, _QLSM_attitude::usecs, and _QLSM_attitude::w.


Generated on Tue Nov 29 19:44:09 2011 by  doxygen 1.5.8