GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LATC / V9-1-2
Constituent: latc     Tag: mcp750
#include "LATC/LATC_msgs.h"
#include "latc_p.h"
#include "enums_p.h"
#include "consume.h"
#include "data.h"
#include "record.h"
#include "latp_p.h"
#include "AG_regEnums_s.h"
#include "number.ic"
#include "PBS/MBA.h"
#include "PBS/WCT.h"
#include "MSG/MSG_pubdefs.h"
#include "LEM/list.h"
Include dependency graph for latc.c:

Functions | |
| LATC_controller * | LATC_new (void) |
| Allocate a new controller. | |
| void | LATC_delete (LATC_controller *cnt) |
| Release the previously allocated resources. | |
| unsigned | LATC_initialise (void) |
| Allocate the resources required for LATC. | |
| unsigned | LATC_teardown (void) |
| Release the resources acquired by LATC_initialise. | |
| unsigned | LATC_cache (unsigned fid) |
| Read a LATC configuration. | |
| unsigned | LATC_configure (LATC_source source, unsigned runId) |
| Configure the LAT using the currently cached configuration. | |
| unsigned | LATC_verify (LATC_source source, unsigned runId) |
| Verify the captured configuration of the LAT matches the in-memory cache. | |
| unsigned | LATC_capture (void) |
| Read the registers of the LAT. | |
| unsigned | LATC_consign (unsigned dst) |
| Write out the captured data to file/SSR. | |
| unsigned | LATC_ignore (unsigned fid) |
| Read the LATC ignore map file. | |
| unsigned | LATC_getCacheKey (void) |
| Return the file key identifying the last cached configuration. | |
| unsigned | LATC_getConfigureKey (void) |
| Return the file key identifying the last configuration loaded. | |
| unsigned | LATC_getIgnoreKey (void) |
| Return the file key identifying the ignore map. | |
| unsigned | LATC_loadAfeConfig (unsigned int mask, unsigned int value0, unsigned int value1, unsigned int rcMask, unsigned int feMask) |
| Load the AFE configuration register. | |
| unsigned | LATC_loadCfeConfig0 (unsigned int mask, unsigned int value) |
| Load CFE configuration register 0. | |
| unsigned | LATC_loadCfeConfig1 (unsigned int mask, unsigned int value0, unsigned int value1, unsigned int cMask) |
| Load CFE configuration register 1. | |
| unsigned | LATC_loadTkrSplits (int nLow, int nHigh) |
| Load TKR splits values. | |
| unsigned | LATC_loadTfeDac (unsigned int mask, unsigned int value, int nLow, int nHigh) |
| Load the TFE DAC register. | |
| unsigned | LATC_enableTriggers (int marker) |
| Enable triggers. | |
| unsigned | LATC_disableTriggers (int marker) |
| Disable triggers. | |
| unsigned | LATC_getHskInfo (LATC_hsk *info) |
| Get LATC housekeeping information. | |
| unsigned | LATC_sizeofHskInfo (void) |
| Get the size of the LATC housekeeping information. | |
| unsigned | LATC_setDirty (void) |
| Set the LATC "dirty" flag. | |
Variables | |
| static LATC_controller * | latc |
| Pointer to the global LATC_controller structure. | |
|
|
Read a LATC configuration.
|
|
|
Read the registers of the LAT.
|
|
||||||||||||
|
Configure the LAT using the currently cached configuration.
|
|
|
Write out the captured data to file/SSR.
|
|
|
Release the previously allocated resources.
|
|
|
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 LATC 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 LATC cache.
|
|
|
Return the file key identifying the last cached configuration.
|
|
|
Return the file key identifying the last configuration loaded.
|
|
|
Get LATC housekeeping information. LATC housekeeping information is copied to the supplied area.
|
|
|
Return the file key identifying the ignore map.
|
|
|
Read the LATC ignore map file.
|
|
|
Allocate the resources required for LATC.
|
|
||||||||||||||||||||||||
|
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 splits values. The tracker RC and FE registers are loaded to reflect the given split values.
|
|
|
Allocate a new controller. Allocate the resources required for the LATC_controller structure and initialise it
|
|
|
Set the LATC "dirty" flag. This routine is used to indicate that a register whose value is normally managed by LATC has had its value changed externally, e.g. by LRA.
|
|
|
Get the size of the LATC housekeeping information. The size of the LATC housekeeping information block is returned.
|
|
|
Release the resources acquired by LATC_initialise.
|
|
||||||||||||
|
Verify the captured configuration of the LAT matches the in-memory cache.
|
1.4.4