GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> PIG / V10-1-4 > pig_flying / linux-gcc
#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. |
$Id: record.c,v 1.9 2009/08/14 16:50:26 saxton Exp $
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
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.