GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LATC / V9-1-2
Constituent: latc     Tag: mcp750
#include "LATC/LATC_msgs.h"
#include "latp_p.h"
#include "data.h"
#include "AG_descriptions_s.h"
#include "AG_lem_s.h"
#include "AG_addr_s.h"
#include "AG_fldEnums_s.h"
#include "AG_regEnums_s.h"
#include "number.ic"
#include "LEM/msg_macros.h"
#include "LEM/list.h"
#include "LEM/decode.h"
Include dependency graph for latp.c:

Defines | |
| #define | NELEM(x) (sizeof x / sizeof x[0]) |
Functions | |
| static unsigned | traverseRead (LATC_imm *imm, LEM_read *lem_r, LATC_type type, unsigned *index, LATC_addr *addr, unsigned depth, const LATC_map *ign) |
| Traverse the LAT reading the configuration for all nodes. | |
| static unsigned | traverseLoad (LATC_imm *imm, LEM_load *lem_l, LATC_type type, unsigned *index, LATC_addr *addr, unsigned depth) |
| Traverse the LAT reading the configuration for all nodes. | |
| static unsigned | loadReg (LEM_load *lem_l, LATC_addr *addr, unsigned reg, unsigned short *ptr) |
| Load a single register. | |
| static unsigned | readReg (LEM_read *lem_r, LATC_addr *addr, unsigned reg, void *dst) |
| Read a single register. | |
| static void | handleReadErrors (unsigned error, unsigned index, void *ptr) |
| Read error callback routine for LATC. | |
| static unsigned | loadSimple (LATC_imm *imm, LEM_load *lem_l, LATC_type type) |
| Load a generic LAT component. | |
| static unsigned | loadSplit (LATC_imm *imm, LEM_load *lem_l, int nLow, int nHigh) |
| Load the layer splits. | |
| static unsigned | loadLayerSplit (LEM_load *lem_l, LATC_addr *addr, short low, short high) |
| Load the splits for a single layer. | |
| static unsigned | loadTracker (LATC_imm *imm, LEM_load *lem_l, LATC_type type) |
| Load the tracker front ends from the configuration tree. | |
| static unsigned | loadCpt (LATC_imm *imm, LEM_load *lem_l, LATC_type type, unsigned index, LATC_addr *addr) |
| Set all the registers of the target component. | |
| static unsigned | readSimple (LATC_imm *imm, LEM_read *lem_r, LATC_type type, const LATC_map *ign) |
| Read the current configuration for a register type. | |
| static unsigned | readSplit (LATC_imm *imm, LEM_read *lem_r, const LATC_map *ign) |
| Read the current layer splits from the TRC TFE_CNT settings. | |
| static unsigned | readTracker (LATC_imm *imm, LEM_read *lem_r, LATC_type type, const LATC_map *ign) |
| Read the current TFE settings. | |
| static unsigned | readCpt (LATC_imm *imm, LEM_read *lem_r, LATC_type type, unsigned index, LATC_addr *addr) |
| Read all the registers of the current component. | |
| unsigned | LATC_read (LATC_imm *imm, LEM_micr *cr, LATC_di *di, const LATC_map *ign) |
| Read the current configuration of the LAT. | |
| unsigned | LATC_load (LATC_imm *imm, LEM_micr *cr) |
| Load the LAT with the configuration held in imm. | |
| unsigned | loadAfeConfig (LATC_imm *imm, unsigned int mask, unsigned int value0, unsigned int value1, unsigned int rcMask, unsigned int feMask, LEM_micr *cr) |
| Load the AFE configuration register. | |
| unsigned | loadCfeConfig0 (LATC_imm *imm, unsigned int mask, unsigned int value, LEM_micr *cr) |
| Load CFE configuration register 0. | |
| unsigned | loadCfeConfig1 (LATC_imm *imm, unsigned int mask, unsigned int value0, unsigned int value1, unsigned int cMask, LEM_micr *cr) |
| Load CFE configuration register 1. | |
| unsigned | loadTkrSplits (LATC_imm *imm, int nLow, int nHigh, LEM_micr *cr) |
| Load TKR splits values. | |
| unsigned | loadTfeDac (LATC_imm *imm, unsigned int mask, unsigned int value, int nLow, int nHigh, LEM_micr *cr) |
| Load the TFE DAC register. | |
| unsigned | setTrigger (LATC_imm *imm, int enable, int marker, LEM_micr *cr) |
| Enable or disable triggers. | |
|
||||||||||||||||
|
Read error callback routine for LATC. This routine clears the bit in the LATC_map corresponding to the register that failed to read
|
|
||||||||||||
|
Load the LAT with the configuration held in imm.
|
|
||||||||||||||||||||
|
Read the current configuration of the LAT.
|
|
||||||||||||||||||||||||||||||||
|
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.
|
|
||||||||||||||||||||||||
|
Set all the registers of the target component.
|
|
||||||||||||||||||||
|
Load the splits for a single layer. This routine loads the mode registers on all the TFEs in the layer and sets the split values in the CSRs of the two TRCs in the layer.
|
|
||||||||||||||||||||
|
Load a single register.
|
|
||||||||||||||||
|
Load a generic LAT component.
|
|
||||||||||||||||||||
|
Load the layer splits.
|
|
||||||||||||||||||||||||||||
|
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.
|
|
||||||||||||||||||||
|
Load TKR splits values. The tracker RC and FE registers are loaded to reflect the given split values.
|
|
||||||||||||||||
|
Load the tracker front ends from the configuration tree.
|
|
||||||||||||||||||||||||
|
Read all the registers of the current component.
|
|
||||||||||||||||||||
|
Read a single register.
|
|
||||||||||||||||||||
|
Read the current configuration for a register type.
|
|
||||||||||||||||
|
Read the current layer splits from the TRC TFE_CNT settings.
|
|
||||||||||||||||||||
|
Read the current TFE settings.
|
|
||||||||||||||||||||
|
Enable or disable triggers. This routine enables or disables LAT triggers. If the marker parameter is non-zero, the LAT is first configured to broadcast a trigger message to all CPUs upon receipt of a solicited trigger, a solicited trigger is issued, and the configuration restored from the IMM data.
|
|
||||||||||||||||||||||||||||
|
Traverse the LAT reading the configuration for all nodes. This routine loads the configuration for any instances of the current component whose configuration differs from the default
|
|
||||||||||||||||||||||||||||||||
|
Traverse the LAT reading the configuration for all nodes.
|
1.4.4