GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LCS / dev > lcs_test / mv2304


Interface   Data Structures   File List   Data Fields   Globals  

LCS_spy.c File Reference

Testing/debugging/... More...

#include <stdio.h>
#include <string.h>
#include <ITC/ITC_drvdefs.h>
#include <ITC/ITC_pubdefs.h>
#include <LCS/LCS_msgs.h>
#include <LCS_prvdefs.h>
#include <LCS_prvtest.h>

Functions

unsigned int LCS_copyRxEngine (ITC_NodeID nid, ITC_QueueID qid, LRX_Engine *rxe)
 Copy an LRX engine control block.
unsigned int LCS_copyTxEngine (ITC_TaskID tid, ITC_QueueID eid, LTX_Engine *txe)
 Copy an LTX engine control block.
void LCS_dumpRxDStats (LRX_Engine *beg, LRX_Engine *end)
 Dump out differential receiver statistics.
void LCS_dumpRxStats (LRX_Engine *rxe)
 Dump out the statistical instrumentation for an LRX engine.
void LCS_dumpTxDTiming (LTX_Engine *beg, LTX_Engine *end)
 Dump out differential timing for an LTX engine.
void LCS_dumpTxEngine (LTX_Engine *ecb)
 Dump out the contents of an engine control block.
void LCS_dumpTxTiming (LTX_Engine *txe)
 Dump out the contents of an engine control block.

Variables

const char * LCS_eng_states [LTX_L_ENG_STATES]
 String constants for LCS engine block states.


Detailed Description

Testing/debugging/...

CVS $Id: LCS_spy.c,v 1.4 2011/03/28 22:49:56 apw Exp $
Author:
A.P.Waite

Function Documentation

unsigned int LCS_copyRxEngine ( ITC_NodeID  nid,
ITC_QueueID  qid,
LRX_Engine *  rxe 
)

Copy an LRX engine control block.

Parameters:
nid (in) ITC node ID
qid (in) ITC queue ID
rxe (out) LRX engine control block
Return values:
LCS_GENERROR Failure (not reported)
LCS_SUCCESS Success

unsigned int LCS_copyTxEngine ( ITC_TaskID  tid,
ITC_QueueID  eid,
LTX_Engine *  txe 
)

Copy an LTX engine control block.

Parameters:
tid (in) ITC task ID (for this service task)
eid (in) Engine ID
txe (out) LTX engine control block
Return values:
LCS_GENERROR Failure (not reported)
LCS_SUCCESS Success

Referenced by exitIntegrity(), and LCS_integrity().

void LCS_dumpRxDStats ( LRX_Engine *  beg,
LRX_Engine *  end 
)

Dump out differential receiver statistics.

Parameters:
beg (in) LRX engine control block (period begin)
end (in) LRX engine control block (period end)

References LCS_dumpRxStats().

void LCS_dumpRxStats ( LRX_Engine *  rxe  ) 

Dump out the statistical instrumentation for an LRX engine.

Parameters:
rxe (in) LRX engine control block

Referenced by LCS_dumpRxDStats().

void LCS_dumpTxDTiming ( LTX_Engine *  beg,
LTX_Engine *  end 
)

Dump out differential timing for an LTX engine.

Parameters:
beg (in) LTX engine control block (period begin)
end (in) LTX engine control block (period end)

References LCS_dumpTxTiming().

Referenced by exitIntegrity().

void LCS_dumpTxEngine ( LTX_Engine *  ecb  ) 

Dump out the contents of an engine control block.

Parameters:
ecb (in) Engine control block

void LCS_dumpTxTiming ( LTX_Engine *  txe  ) 

Dump out the contents of an engine control block.

Parameters:
txe (in) LTX engine control block

Referenced by LCS_dumpTxDTiming().


Variable Documentation

const char * LCS_eng_states[LTX_L_ENG_STATES]

Initial value:

{
    "none",
    "ready",
    "busy"
}
String constants for LCS engine block states.


Generated on Mon Mar 28 15:57:44 2011 by  doxygen 1.5.8