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

Constituent: lrd_parser     Tag: sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

cptDetail.c File Reference

Creation and initialisation of the CptDetail structure. More...

#include "cptDetail_p.h"
#include "lString_p.h"
#include "error_p.h"
#include "PBS/MBA.h"
#include <string.h>

Include dependency graph for cptDetail.c:


Functions

CptDetailnewCptDetail (void)
 Allocate and initialize a CptDetail structure.
void deleteCptDetail (void *ptr)
 Free a CptDetail structure and its lists.
void scpt_cptDetail (CptDetail *cd, const char *name, unsigned regWidth, unsigned multi)
 Populate the structure holding details of the current component.
void sreg_cptDetail (CptDetail *cd, const char *regName)
 Add strings to the lists of children of the component.
void sfld_cptDetail (CptDetail *cd)
 NO_OP.
void ereg_cptDetail (CptDetail *cd, unsigned regId, unsigned nFld, const char *regName)
 Add field to the list of registers.
void ecpt_cptDetail (CptDetail *cd, CptDetail *parent)
 Finish off any lists in the component.

Detailed Description

Creation and initialisation of the CptDetail structure.

Author:
James Swain & Owen Saxton
Id
cptDetail.c,v 1.3 2007/12/14 21:31:02 saxton Exp

Function Documentation

void deleteCptDetail void *  ptr  ) 
 

Free a CptDetail structure and its lists.

Parameters:
ptr To structure to delete

void ecpt_cptDetail CptDetail cd,
CptDetail parent
 

Finish off any lists in the component.

Parameters:
cd Structure holding details of the current component
parent Pointer to parent CptDetail

void ereg_cptDetail CptDetail cd,
unsigned  regId,
unsigned  nFld,
const char *  regName
 

Add field to the list of registers.

Parameters:
cd Pointer to the structure containing details of the current component
regId Register ID
nFld Number of fields in the register
regName Register name

CptDetail* newCptDetail void   ) 
 

Allocate and initialize a CptDetail structure.

Returns:
Ptr to initialised CptDetail

void scpt_cptDetail CptDetail cd,
const char *  name,
unsigned  regWidth,
unsigned  multi
 

Populate the structure holding details of the current component.

Parameters:
cd Structure holding details of the current component
name Name of the component
regWidth Width (in bits) of the registers of this component
multi 1 indicates that there can be multiple instances of this component (contained by the same parent) 0 indicates otherwise

void sfld_cptDetail CptDetail cd  ) 
 

NO_OP.

Parameters:
cd Pointer to the structure containing details of the current component

void sreg_cptDetail CptDetail cd,
const char *  regName
 

Add strings to the lists of children of the component.

Parameters:
cd Pointer to the structure containing details of the current component
regName String identifying the current register


Generated on Sat Dec 22 02:47:28 2007 by  doxygen 1.4.4