GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LCFG / V1-2-3
Constituent: lcfg     Tag: rad750
#include "RIM/RIM.h"
Include dependency graph for LCFG.h:

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

Data Structures | |
| struct | _LCFG_hsk |
| Structure to hold LCFG housekeeping information. More... | |
Typedefs | |
| typedef enum _LCFG_source | LCFG_source |
| Identifiers for callers of configure and verify. | |
| typedef RIM_type | LCFG_type |
| Type used to identify components (TEM, TFE etc). | |
| typedef RIM_addr | LCFG_addr |
| Type used to define an address. | |
| typedef _LCFG_hsk | LCFG_hsk |
| Structure to hold LCFG housekeeping information. | |
Enumerations | |
| enum | _LCFG_source { LCFG_SRC_UNKNOWN = 0, LCFG_SRC_LPA = 1, LCFG_SRC_LCI = 2, LCFG_SRC_COMMAND = 3 } |
| Identifiers for callers of configure and verify. More... | |
| enum | { LCFG_BAD_TYPE = RIM_BAD_TYPE } |
| Value for an unrecognized type. | |
| enum | { LCFG_BCAST_ADDR = RIM_BCAST_ADDR, N_LCFG_ADDR_CPTS = N_RIM_ADDR_CPTS } |
| Constants associated with addressing LAT component instances. | |
Functions | |
| unsigned | LCFG_cache (unsigned fid) |
| Read a LAT configuration. | |
| unsigned | LCFG_capture (void) |
| Read the registers of the LAT. | |
| unsigned | LCFG_configure (LCFG_source source, unsigned runId) |
| Configure the LAT using the currently cached configuration. | |
| unsigned | LCFG_consign (unsigned dst) |
| Write out the captured data to the SSR. | |
| unsigned | LCFG_disableTriggers (int marker) |
| Disable triggers. | |
| unsigned | LCFG_enableTriggers (int marker) |
| Enable triggers. | |
| unsigned | LCFG_getCacheKey (void) |
| Return the file key identifying the last cached configuration. | |
| unsigned | LCFG_getConfigureKey (void) |
| Return the file key identifying the last configuration loaded. | |
| unsigned | LCFG_getHskInfo (LCFG_hsk *info) |
| Get LAT configuration housekeeping information. | |
| unsigned | LCFG_getIgnoreKey (void) |
| Return the file key identifying the ignore map. | |
| unsigned | LCFG_ignore (unsigned fid) |
| Read the ignore map from the file identified by fid. | |
| unsigned | LCFG_initialise (void) |
| Allocate the resources required for LCFG. | |
| unsigned | LCFG_loadAfeConfig (unsigned int mask, unsigned int value0, unsigned int value1, unsigned int rcMask, unsigned int feMask) |
| Load the AFE configuration register. | |
| unsigned | LCFG_loadCfeConfig0 (unsigned int mask, unsigned int value) |
| Load CFE configuration register 0. | |
| unsigned | LCFG_loadCfeConfig1 (unsigned int mask, unsigned int value0, unsigned int value1, unsigned int cMask) |
| Load CFE configuration register 1. | |
| unsigned | LCFG_loadTfeDac (unsigned int mask, unsigned int value, int nLow, int nHigh) |
| Load the TFE DAC register. | |
| unsigned | LCFG_loadTkrSplits (int nLow, int nHigh) |
| Load TKR split values. | |
| unsigned | LCFG_setDirty (void) |
| Set the LCFG "dirty" flag. | |
| unsigned | LCFG_sizeofHskInfo (void) |
| Get the size of the LAT configuration housekeeping information. | |
| unsigned | LCFG_teardown (void) |
| Release the resources acquired by LCFG_initialise. | |
| unsigned | LCFG_verify (LCFG_source source, unsigned runId) |
| Verify that the captured configuration of the LAT matches the in-memory cache. | |
|
|
Identifiers for callers of configure and verify.
|
|
|
Read a LAT configuration.
|
|
|
Read the registers of the LAT.
|
|
||||||||||||
|
Configure the LAT using the currently cached configuration.
|
|
|
Write out the captured data to the SSR.
|
|
|
Disable triggers. The window open mask is cleared. If the marker parameter is non-zero, the LAT is first configured to broadcast a trigger message to CPUs upon receipt of a solicited trigger, a solicited trigger is fired, and the configuration restored from the LCFG cache.
|
|
|
Enable triggers. The window open mask is loaded with the value held in the cache. If the marker parameter is non-zero, the LAT is first configured to broadcast a trigger message to CPUs upon receipt of a solicited trigger, a solicited trigger is fired, and the configuration restored from the LCFG cache.
|
|
|
Return the file key identifying the last cached configuration.
|
|
|
Return the file key identifying the last configuration loaded.
|
|
|
Get LAT configuration housekeeping information. LAT configuration housekeeping information is copied to the supplied area.
|
|
|
Return the file key identifying the ignore map.
|
|
|
Read the ignore map from the file identified by fid.
|
|
|
Allocate the resources required for LCFG.
|
|
||||||||||||||||||||||||
|
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 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 split values. The tracker RC and FE registers are loaded to reflect the given split values.
|
|
|
Set the LCFG "dirty" flag. This routine is used to indicate that a register whose value is normally managed by LCFG has had its value changed externally, e.g. by LRA.
|
|
|
Get the size of the LAT configuration housekeeping information. The size of the LAT configuration housekeeping information block is returned.
|
|
|
Release the resources acquired by LCFG_initialise.
|
|
||||||||||||
|
Verify that the captured configuration of the LAT matches the in-memory cache.
|
1.4.4