GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LCS / V1-5-4 > lcs / linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

LTX_adaptSDI.c File Reference

LTX protocol adapter for CPU to SDI communications. More...

#include <string.h>
#include "MSG/MSG_pubdefs.h"
#include "CCSDS/CCSDS_pkt.h"
#include "ITC/ITC_apidefs.h"
#include "ITC/ITC_pubdefs.h"
#include "LCS/LCS_msgs.h"
#include "LCS_prvdefs.h"

Functions

unsigned int LTX_protocolSDI (LTX_Engine *txe, unsigned int siz)
 Form the protocol header for one packet of a CPU/SDI transaction.
unsigned int LTX_startSDI2 (LTX_Engine *txe)
 Start a protocol 2 CPU to SDI transaction.

Variables

unsigned short seqSDI [ITC_L_APID_SDI]
 CCSDS sequence counters for science data interface APIDs.


Detailed Description

LTX protocol adapter for CPU to SDI communications.

CVS $Id: LTX_adaptSDI.c,v 1.3 2009/08/01 20:07:27 apw Exp $
Author:
A.P.Waite

Function Documentation

unsigned int LTX_protocolSDI ( LTX_Engine txe,
unsigned int  siz 
)

Form the protocol header for one packet of a CPU/SDI transaction.

Parameters:
txe (in) LTX transmit engine
siz (in) Size (bytes) of packet payload
Return values:
cel The number of cells (16 byte objects) needed to send the message

unsigned int LTX_startSDI2 ( LTX_Engine txe  ) 

Start a protocol 2 CPU to SDI transaction.

Parameters:
txe (in) LTX transmit engine
Return values:
LCS_SUCCESS Success


Generated on Sat Aug 1 13:16:43 2009 by  doxygen 1.5.3