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

Constituent: rim     Tag: mv2304


Interface   Data Structures   File List   Data Fields   Globals  

RIM_report.c File Reference

Functions to create report file from a RIM structure. More...

#include "RIM_p.h"
#include "RIM_descriptions.ic"
#include "RIM_number.ic"
#include "RIM_AG_init_p.h"
#include "RIM_AG_types_s.h"
#include "RIM_AG_addr_s.h"
#include <stdio.h>

Include dependency graph for RIM_report.c:


Functions

static void reportLL (const CptDescription *cd, void *data, FILE *fp)
 Print out the registers of a component with 64-bit registers.
static void reportL (const CptDescription *cd, void *data, FILE *fp)
 Print out the registers of a component with 32-bit registers.
static void reportS (const CptDescription *cd, void *data, FILE *fp)
 Print out the registers of a component with 16-bit registers.
static void reportLayerAddr (const RIM_addr *addr, RIM_type type, FILE *fp)
 Write out a layer address.
static void reportStdAddr (const RIM_addr *addr, RIM_type type, FILE *fp)
 Write out a standard address.
void RIM_report (RIM *rim, FILE *fp, unsigned noDflt)
 Print a report of the contents of the RIM to a file.

Detailed Description

Functions to create report file from a RIM structure.

Author:
James Swain & Owen Saxton
Id
RIM_report.c,v 1.1 2007/03/16 19:29:37 saxton Exp

Function Documentation

void reportL const CptDescription cd,
void *  data,
FILE *  fp
[static]
 

Print out the registers of a component with 32-bit registers.

Parameters:
cd Pointer to the description of this component
data Pointer to the data for this component
fp Pointer to the file to write the report to

void reportLayerAddr const RIM_addr addr,
RIM_type  type,
FILE *  fp
[static]
 

Write out a layer address.

Parameters:
addr Pointer to the instance address
type Type of component
fp Pointer to the file to print the report into

void reportLL const CptDescription cd,
void *  data,
FILE *  fp
[static]
 

Print out the registers of a component with 64-bit registers.

Parameters:
cd Pointer to the description of this component
data Pointer to the data for this component
fp Pointer to the file to write the report to

void reportS const CptDescription cd,
void *  data,
FILE *  fp
[static]
 

Print out the registers of a component with 16-bit registers.

Parameters:
cd Pointer to the description of this component
data Pointer to the data for this component
fp Pointer to the file to write the report to

void reportStdAddr const RIM_addr addr,
RIM_type  type,
FILE *  fp
[static]
 

Write out a standard address.

Parameters:
addr Pointer to the instance address
type Type of component
fp Pointer to the file to print the report into

void RIM_report RIM rim,
FILE *  fp,
unsigned  noDflt
 

Print a report of the contents of the RIM to a file.

Parameters:
rim RIM structure to use as a source
fp Pointer to destination of the report
noDflt True if default values not present


Generated on Fri Jun 15 02:04:28 2007 by  doxygen 1.4.4