GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > RIM / V0-0-2

Constituent: trim     Tag: linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

t_rim.c File Reference

Test the interface to the RIM functions. More...

#include "RIM/error.h"
#include "ctors_p.h"
#include "data_p.h"
#include "AG_rimType_s.h"
#include "AG_initRIM_p.h"
#include "descriptions.ic"
#include "number.ic"
#include "PBI/Endianness.h"
#include <stdlib.h>

Include dependency graph for t_rim.c:


Data Structures

union  pu
 Union of a char array and an unsigned array, used as payloads. More...

Functions

int checkZero (RIM *this, unsigned igtype, RIM_addr *igaddr, int igregId)
 Iterates over all the leaves of the tree and checks that they are zero.
unsigned t_rim (void *param)
 Test the functions defined in RIM/lrd.h.

Detailed Description

Test the interface to the RIM functions.

Author:
James Swain -- jswain@slac.stanford.edu

Function Documentation

int checkZero RIM this,
unsigned  igtype,
RIM_addr igaddr,
int  igregId
 

Iterates over all the leaves of the tree and checks that they are zero.

Parameters:
this Configuration to check
igtype Type of the leaf to ignore (that is known to be non-zero)
igaddr Pointer to an address structure for the leaf to ignore
igregId Register ID of the register to ignore.
Returns:
0 or the line number of the first error

unsigned t_rim void *  param  ) 
 

Test the functions defined in RIM/lrd.h.

Returns:
Line number of the first error, or 0 if the test is successful
Parameters:
param Opaque handle for the test control structure (if any)


Generated on Thu Apr 13 23:43:19 2006 by  doxygen 1.4.4