GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > RIM / V2-2-1
Constituent: rim     Tag: linux-gcc
#include "RIM_p.h"
#include "RIM_number.ic"
#include "RIM_AG_init_p.h"
#include "RIM_AG_fldEnums_p.h"
#include "RIM_AG_regEnums_p.h"
#include "RIM_AG_number_p.h"
#include "RIM/RIM_msgs.h"
Include dependency graph for RIM_latp.c:
Data Structures | |
struct | LoadParm |
Functions and resources used to load LAT registers. More... | |
struct | ReadParm |
Functions and resources used to read LAT registers. More... | |
Enumerations | |
enum | { RIM_TFE_MODE = 4 } |
TFE mode register ID - defined here to avoid dependence on LEM. More... | |
Functions | |
static unsigned | traverseRead (RIM *rim, ReadParm *rParm, RIM_type type, unsigned *index, RIM_addr *addr, unsigned depth, const RIM_map *ignore) |
static unsigned | traverseLoad (RIM *rim, LoadParm *lParm, RIM_type type, unsigned *index, RIM_addr *addr, unsigned depth) |
static unsigned | loadLayerSplit (void *param, RIM_loadFn **loadFn, const RIM_addr *addr, unsigned short low, unsigned short high) |
static unsigned | loadSimple (RIM *rim, LoadParm *lParm, RIM_type type) |
static unsigned | loadTracker (RIM *rim, LoadParm *lParm, RIM_type type) |
static unsigned | loadCpt (RIM *rim, LoadParm *lParm, RIM_type type, unsigned index, const RIM_addr *addr) |
static unsigned | readSimple (RIM *rim, ReadParm *rParm, RIM_type type, const RIM_map *ignore) |
static unsigned | readSplit (RIM *rim, ReadParm *rParm, const RIM_map *ignore) |
static unsigned | readTracker (RIM *rim, ReadParm *rParm, RIM_type type, const RIM_map *ignore) |
static unsigned | readCpt (RIM *rim, ReadParm *rParm, RIM_type type, unsigned index, const RIM_addr *addr) |
static void | fixSplit (unsigned short *low, unsigned short *high) |
unsigned | RIM_read (RIM *rim, void *param, RIM_readFn **readFn, RIM_decodeFn **decodeFn, const RIM_map *ign) |
Populate the RIM structure with the current state of the LAT. | |
unsigned | RIM_load (RIM *rim, void *param, RIM_loadFn **loadFn) |
Load the LAT with the configuration held in a RIM structure. | |
unsigned | RIM_loadAfeConfig (RIM *rim, unsigned int mask, unsigned int value0, unsigned int value1, unsigned int rcMask, unsigned int feMask, void *param, RIM_loadFn **loadFn) |
Load the AFE configuration register. | |
unsigned | RIM_loadCfeConfig0 (RIM *rim, unsigned int mask, unsigned int value, void *param, RIM_loadFn **loadFn) |
Load CFE configuration register 0. | |
unsigned | RIM_loadCfeConfig1 (RIM *rim, unsigned int mask, unsigned int value0, unsigned int value1, unsigned int cMask, void *param, RIM_loadFn **loadFn) |
Load CFE configuration register 1. | |
unsigned | RIM_loadTfeDac (RIM *rim, unsigned int mask, unsigned int value, int nLow, int nHigh, void *param, RIM_loadFn **loadFn) |
Load the TFE DAC register. | |
unsigned | RIM_loadSplit (RIM *rim, int nLow, int nHigh, void *param, RIM_loadFn **loadFn) |
Load TKR split values. | |
void | RIM_setSplit (short *ptr, unsigned long long value, unsigned uid) |
Decode the result item used to populate a split. | |
void | RIM_checkSplit (short *ptr, unsigned long long value, unsigned uid) |
Decode a result item used to check a split. | |
void | RIM_correct (RIM *orig, RIM *capt) |
Copy select portions of an original RIM into a copy, to ensure that the subsequent comparison will succeed. |
|
TFE mode register ID - defined here to avoid dependence on LEM.
|
|
Decode a result item used to check a split. The read value of a TFE mode register is compared with the expected value and the split value set to indicate an error if it doesn't match
|
|
Copy select portions of an original RIM into a copy, to ensure that the subsequent comparison will succeed.
|
|
Load the LAT with the configuration held in a RIM structure.
|
|
Load the AFE configuration register. The AFE configuration register is loaded with a modified version of the value from the LAT configuration, with the specified bits replaced.
|
|
Load CFE configuration register 0. CFE configuration register 0 is loaded with a modified version of the value from the LAT configuration, with the specified bits replaced.
|
|
Load CFE configuration register 1. CFE configuration register 1 is loaded with a modified version of the value from the LAT configuration, with the specified bits replaced.
|
|
Load TKR split values. The tracker RC and FE registers are loaded to reflect the given split values.
|
|
Load the TFE DAC register. The TFE DAC register is loaded with a modified version of the value from the LAT configuration, with the specified bits replaced.
|
|
Populate the RIM structure with the current state of the LAT.
|
|
Decode the result item used to populate a split. The value from the TRC register is converted and assigned to the appropriate split register.
|