GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > RIM / V2-3-1
Constituent: rim     Tag: sun-gcc
#include "RIM/RIM.h"
#include "RIM_AG_types_p.h"
#include "MSG/MSG_pubdefs.h"
#include <stdio.h>
Include dependency graph for RIM_p.h:
This graph shows which files directly or indirectly include this file:
Data Structures | |
struct | FldDescription |
Parameters necessary to describe a field within a register. More... | |
struct | RegDescription |
Description of a register within a component. More... | |
struct | CptDescription |
Description of a component of the LAT. More... | |
Defines | |
#define | MAX_MAP ((N_MAX / 32) + 1) |
Number of 32 bit words guaranteed to be big enough to hold a map large enough for any component type. | |
Enumerations | |
enum | { RIM_RT_MAP = 0, RIM_RT_DFT = 0x40, RIM_RT_EXCP = 0x80, RIM_RT_MASK = 0xc0 } |
Exported data record types. More... | |
Functions | |
int | RIM_addrRng (RIM_type type, int level) |
Get the address range of a component level. | |
const CptDescription * | RIM_cptDesc (RIM_type type) |
Get the address of a component description. | |
void | RIM_getFld (const void *cpt, RIM_type type, int regId, int fldId, void *value) |
Puts the contents of the fldId field of register regId into value. | |
int | RIM_number (RIM_type type) |
Get the number of instances of a component. | |
void | RIM_getReg (const void *cpt, RIM_type type, int regId, void *value) |
Puts the contents of the target register regId into value. | |
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. | |
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. | |
int | RIM_regEnum (RIM_type type, int regId) |
Convert the public register ID in to the RIM internal register ID. | |
int | RIM_setFld (void *cpt, RIM_type type, int regId, int fldId, const void *value) |
Sets the tgtId field of the regId register of cpt structure to value. | |
void | RIM_setReg (void *cpt, RIM_type type, int regId, const void *value) |
Set the regId register of cpt structure to value. | |
const char * | RIM_typeName (RIM_type type) |
Get the name of a component. |
|
Exported data record types.
|
|
Get the address range of a component level. This is an internal routine, so no checking is done on the type.
|
|
Get the address of a component description. This is an internal routine, so no checking is done on the type.
|
|
Puts the contents of the fldId field of register regId into value.
|
|
Puts the contents of the target register regId into value.
|
|
Convert the conceptual layer addressing of a TFE to the hierarchical form used to communicate with the LAT. Note that GTFEs 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.
|
|
Convert the conceptual layer addressing of a TFE to the hierarchical form used to communicate with the LAT. Note that GTFEs 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.
|
|
Get the number of instances of a component. This is an internal routine, so no checking is done on the type.
|
|
Convert the public register ID in to the RIM internal register ID.
|
|
Sets the tgtId field of the regId register of cpt structure to value.
|
|
Set the regId register of cpt structure to value.
|
|
Get the name of a component. This is an internal routine, so no checking is done on the type.
|