GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> PIG / V10-1-4 > pig_flying / rad750


Interface   Data Structures   File List   Data Fields   Globals  

record.c File Reference

Implementation of the data recording routines. More...

#include "pig_p.h"
#include "pig_macro_p.h"
#include "PIG/pig.h"
#include "PIG/PIG_msgs.h"
#include "LEM/defs.h"
#include "LEM/list.h"
#include "LSF/LSF.h"
#include "LSF/LSF_ids.h"
#include "PBS/BSWP.h"
#include "CCSDS/CCSDS_pkt.h"
#include "ITC/ITC_pubdefs.h"
#include <string.h>

Enumerations

enum  { PIG_SSR_APID = 0x3fe }

Functions

size_t PIG_sizeofRecord (void)
 Get the size of a PIG datagram.
unsigned PIG_record (void *buf, ITC_cb_Completion *rtn, void *prm0, void *prm1, void *prm2)
 Record the PIG registers to the SSR.


Detailed Description

Implementation of the data recording routines.

Author:
James Swain & Owen Saxton
$Id: record.c,v 1.9 2009/08/14 16:50:26 saxton Exp $

Function Documentation

unsigned PIG_record ( void *  buf,
ITC_cb_Completion *  rtn,
void *  prm0,
void *  prm1,
void *  prm2 
)

Record the PIG registers to the SSR.

Takes a snapshot of the registers controlled by PIG and sends the resulting record to the SSR

Parameters:
buf Pointer to a buffer to use for the record
rtn Completion routine
prm0 Completion routine user parameter 0
prm1 Completion routine user parameter 1
prm2 Completion routine user parameter 2

size_t PIG_sizeofRecord ( void   ) 

Get the size of a PIG datagram.

Calculates the space required to send a record of the registers controlled by PIG to the SSR.

Returns:
Size of a record in bytes


Generated on Fri Aug 14 10:34:10 2009 by  doxygen 1.5.3