GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> SIIS / V0-2-0 > siis_rec_dump / sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

SIIS_vcdu.h File Reference

SIIS VCDU Interface Library. More...

#include "SIIS/SIIS_msg.h"

Classes

struct  _SIIS_Vcdu_Hdr
 VCDU header information. More...

Typedefs

typedef struct _SIIS_Vcdu_Hdr SIIS_Vcdu_Hdr

Functions

unsigned int SIIS_vcduHdrSizeof (void)
 Return the size of a VCDU header, in bytes.
unsigned int SIIS_vcduTrlSizeof (void)
 Return the size of a VCDU trailer, in bytes.
unsigned int SIIS_vcduGetHdr (const unsigned char *hdr_buf, const unsigned int hdr_buf_bytes, SIIS_Vcdu_Hdr *hdr_info)
 Get the information found within a VCDU header.


Detailed Description

SIIS VCDU Interface Library.

  CVS $Id: SIIS_vcdu.h,v 1.2 2004/12/02 17:36:59 dmay Exp $
  

This library contains functions and definitions for processing Virtual Channel Data Units (VCDUs).


Typedef Documentation

The typedef for _SIIS_Vcdu_Hdr.


Function Documentation

unsigned int SIIS_vcduGetHdr ( const unsigned char *  hdr_buf,
const unsigned int  hdr_buf_bytes,
SIIS_Vcdu_Hdr hdr_info 
)

Get the information found within a VCDU header.

Build a SIIS_Vcdu_Hdr structure from the information found within a VCDU header.

Parameters:
hdr_buf Pointer to buffer containing the VCDU header.
hdr_buf_bytes Length of header buffer, in bytes
hdr_info Pointer to structure to return header information.
Returns:
A SIIS MSG value.

Referenced by siis_file_dump_raw_telem().

unsigned int SIIS_vcduHdrSizeof ( void   ) 

Return the size of a VCDU header, in bytes.

Returns the length of a VCDU header, in bytes. Includes the 6-byte primary header, the 17-byte VCDU insert zone, the 4-byte synchronization marker, and the 2-byte M_PDU header.

Returns:
VCDU header size, in bytes.

unsigned int SIIS_vcduTrlSizeof ( void   ) 

Return the size of a VCDU trailer, in bytes.

Returns the length of a VCDU trailer, in bytes. Includes the 4-byte operator control field and the 1-byte of padding.

Returns:
VCDU trailer size, in bytes.

Referenced by siis_file_dump_raw_telem().


Generated on Wed Nov 21 21:28:29 2012 by  doxygen 1.5.8