GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> RIM / V3-1-2 > trim / mv2304
#include <test_rim_p.h>
#include <RIM_p.h>
#include <RIM_AG_init_p.h>
#include <RIM_descriptions.ic>
#include <RIM_number.ic>
#include <PBI/Endianness.h>
#include <stdlib.h>
Functions | |
int | setTam (void *leaf, void *tst, unsigned reg, unsigned val) |
Set a TAM register and the corresponding word in the test array then return the result of a comparison. | |
int | getTam (void *leaf, void *tst) |
Check the value obtained by "get" matches the test array. | |
int | setTfe (void *leaf, void *tst, unsigned reg, unsigned val) |
Set a TFE register and the corresponding word in the test array then return the result of a comparison. | |
int | getTfe (void *leaf, void *tst) |
Check the value obtained by "get" matches the test array. | |
int | setCrc (void *leaf, void *tst, unsigned reg, unsigned short val) |
Set a TFE register and the corresponding word in the test array then return the result of a comparison. | |
int | getCrc (void *leaf, void *tst) |
Check the value obtained by "get" matches the test array. | |
unsigned | t_data (void *param) |
Test the functions defined in RIM/lrd.h. |
$Id: t_data.c,v 1.4 2011/03/27 06:43:06 saxton Exp $
int getCrc | ( | void * | leaf, | |
void * | tst | |||
) |
int getTam | ( | void * | leaf, | |
void * | tst | |||
) |
int getTfe | ( | void * | leaf, | |
void * | tst | |||
) |
int setCrc | ( | void * | leaf, | |
void * | tst, | |||
unsigned | reg, | |||
unsigned short | val | |||
) |
Set a TFE register and the corresponding word in the test array then return the result of a comparison.
leaf | Pointer to the leaf being set by RIM function | |
tst | Pointer to an array used for comparison | |
reg | Register to set | |
val | Value to set the register to. |
Referenced by t_data().
int setTam | ( | void * | leaf, | |
void * | tst, | |||
unsigned | reg, | |||
unsigned | val | |||
) |
Set a TAM register and the corresponding word in the test array then return the result of a comparison.
leaf | Pointer to the leaf being set by RIM function | |
tst | Pointer to an array used for comparison | |
reg | Register to set | |
val | Value to set the register to. |
Referenced by t_data().
int setTfe | ( | void * | leaf, | |
void * | tst, | |||
unsigned | reg, | |||
unsigned | val | |||
) |
Set a TFE register and the corresponding word in the test array then return the result of a comparison.
leaf | Pointer to the leaf being set by RIM function | |
tst | Pointer to an array used for comparison | |
reg | Register to set | |
val | Value to set the register to. |
Referenced by t_data().
unsigned t_data | ( | void * | param | ) |