GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > PIG / V10-0-2

Constituent: pig_flying     Tag: sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

record.c File Reference

Implementation of the data recording routines. More...

#include "state_p.h"
#include "pig_macro_p.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>

Include dependency graph for record.c:


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.5 2007/09/20 20:08:30 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 Wed Dec 5 05:26:23 2007 by  doxygen 1.4.4