GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LATC / V9-1-2 > latc_test_embd / rad750


Interface   Data Structures   File List   Data Fields   Globals  

mask.ic File Reference

Set and get field and register functions. More...

#include "descriptions.ic"

Functions

static void maskLongFld (const FldDescription *fd, int regId, int fldId, unsigned *value)
 Mask down the input value to match the field size.


Detailed Description

Set and get field and register functions.

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

Function Documentation

void maskLongFld ( const FldDescription fd,
int  regId,
int  fldId,
unsigned *  value 
) [inline, static]

Mask down the input value to match the field size.

Parameters:
fd Description of the fields in the register
regId Enum specifying register to write to (previously bounds checked)
fldId Enum specifying field to write to (previously bounds checked)
value Set the target registers to cpt.

References FldDescription::width.

Referenced by maskFld().


Generated on Fri Apr 1 22:26:53 2011 by  doxygen 1.5.8