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

Constituent: rim     Tag: linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

addr.h File Reference

Functions converting flat index to/from hierarchical addressing. More...

#include "RIM/lrd.h"

Include dependency graph for addr.h:

This graph shows which files directly or indirectly include this file:


Functions

void RIM_layerLow (const Layer_addr *layer, TEM_addr *tem)
 Convert the conceptual layer addressing of a TFE to the hierarchical form used to communicate with the LAT.
void RIM_layerHigh (const Layer_addr *layer, TEM_addr *tem)
 Convert the conceptual layer addressing of a TFE to the hierarchical form used to communicate with the LAT.

Detailed Description

Functions converting flat index to/from hierarchical addressing.

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

Function Documentation

void RIM_layerHigh const Layer_addr layer,
TEM_addr tem
 

Convert the conceptual layer addressing of a TFE to the hierarchical form used to communicate with the LAT.

Parameters:
layer Address of the TFE / SPT in terms of layers
tem Address of the TFE / TRC in terms of CC/RC
Note that TFEs are usually referred to as being part of an X or Y layer. This identification is converted to an absolute layer number and stored in the rc space by addr->rc = (layerNumber << 1) | isYlayer. This conversion is performed by the XLM->RIM converter, but is documented here since it is a storage convention.

void RIM_layerLow const Layer_addr layer,
TEM_addr tem
 

Convert the conceptual layer addressing of a TFE to the hierarchical form used to communicate with the LAT.

Parameters:
layer Address of the TFE / SPT in terms of layers
tem Address of the TFE / TRC in terms of CC/RC
Note that TFEs are usually referred to as being part of an X or Y layer. This identification is converted to an absolute layer number and stored in the rc space by addr->rc = (layerNumber << 1) | isYlayer. This conversion is performed by the XLM->RIM converter, but is documented here since it is a storage convention.


Generated on Thu Apr 13 23:39:15 2006 by  doxygen 1.4.4