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

Constituent: trim     Tag: mv2304


Interface   Data Structures   File List   Data Fields   Globals  

t_rim.c File Reference

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

#include "RIM_p.h"
#include "ctors_p.h"
#include "RIM_AG_types_s.h"
#include "RIM_AG_init_p.h"
#include "RIM_descriptions.ic"
#include "RIM_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 Fri Jun 15 02:08:01 2007 by  doxygen 1.4.4