GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LCBT / V1-5-0
Constituent: lcbt     Tag: mv2304
This graph shows which files directly or indirectly include this file:
Typedefs | |
typedef enum _TDATA_DTEST | TDATA_DTEST |
Specifies data sequence for various test. | |
Enumerations | |
enum | _TDATA_DTEST { TDATA_DTEST_INCREMENT = 0, TDATA_DTEST_CONSTANT = 1, TDATA_DTEST_RANDOM = 2, TDATA_DTEST_WALK1 = 3, TDATA_DTEST_TRANS01 = 4, TDATA_DTEST_TRANS10 = 5, TDATA_DTEST_TASKID = 6 } |
Functions | |
void | TDATA_create (unsigned short *ptr, int lenIn16b, int ccsds, TDATA_DTEST testType, unsigned int testParm) |
Create a self describing test data buffer. | |
int | TDATA_compare (unsigned short *ptr, int lenIn16b, int ccsds, int printErrs) |
Analyse a self describing test data buffer for errors. | |
int | TDATA_compareSeq (unsigned short *ptr, int lenIn16b, int seq, int ccsds, int printErrs) |
Analyse a buffer segment of a self describing test data buffer for errors. | |
void | TDATA_setCcsdsParms (unsigned int appId) |
set prameters for all CCSDS packets | |
unsigned int | TDATA_getRandCtxForSeqVal (unsigned int testParm) |
Create contex to use with TDATA_getNextSeqVal(). | |
unsigned int | TDATA_getNextSeqVal (TDATA_DTEST testType, unsigned int testParm, int idx, unsigned int *randCtx) |
Create a data sequence one word at a time. | |
char * | TDATA_testStr (TDATA_DTEST testType) |
convert test type enum to a string |
|
|
Analyse a self describing test data buffer for errors.
WARNING: Because of the sequence handling, this routine is no longer thread safe. It assumes a single thread is calling it and that sequences of buffer segments are received in order. |
Here is the call graph for this function:
|
Analyse a buffer segment of a self describing test data buffer for errors.
WARNING: Because of the sequence handling, this routine is no longer thread safe. It assumes a single thread is calling it and that sequences of buffer segments are received in order. |
|
Create a self describing test data buffer.
The testType and use of testParm is as follows: testType = TDATA_DTEST_CONSTANT testParm = 16b constant value to be repeated as data testType = TDATA_DTEST_INCREMENT testParm = 16b start value that is incremented on each 16b word testType = TDATA_DTEST_RANDOM testParm = seed value for ranom generator, values are 16b but appear random in all dTypes testType = TDATA_DTEST_WALK1 testParm = 8=walk on bytes, 16=walk on 16b words, 32=walk on 32b words testType = TDATA_DTEST_TRANS01 testParm = number of bits of 0's before all 1's in each packet testType = TDATA_DTEST_TRANS10 testParm = number of bits of 1's before all 0's in each packet |
|
Create a data sequence one word at a time.
|
|
Create contex to use with TDATA_getNextSeqVal().
|
|
set prameters for all CCSDS packets
|
|
convert test type enum to a string
|