GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LCS / V1-4-1

Constituent: lcs     Tag: sun-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"

Include dependency graph for LTX_adaptSDI.c:


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.2 2006/04/27 21:41:11 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 Thu Apr 27 21:28:58 2006 by  doxygen 1.4.4