GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LCFG / V1-2-3
Constituent: lcfg     Tag: mv2304
#include "RIM/RIM.h"
#include "PBS/FPA.h"
#include "LEM/list.h"
Include dependency graph for LCFG_p.h:
This graph shows which files directly or indirectly include this file:
Data Structures | |
struct | LCFG_decode |
Structure used to hold information used in decoding the response to register read operations. More... | |
Enumerations | |
enum | { LCFG_DATAGRAM_SIZE = 1024 * 512, LCFG_N_DATAGRAMS = 4 } |
Constants used in sending data to the SSR. More... | |
Functions | |
unsigned | LCFG_consume (RIM *rim, unsigned lcm, unsigned *key) |
Read configuration data. | |
unsigned | LCFG_consumeMap (RIM_map *map, unsigned fid, unsigned *key) |
Read map data. | |
void | LCFG_deleteDecode (RIM_decodeFn **decode) |
Free the memory previously allocated using LCFG_newDecode. | |
void | LCFG_deleteLoad (RIM_loadFn **load) |
Free the memory previously allocated using LCFG_newLoad. | |
void | LCFG_deleteRead (RIM_readFn **read) |
Free the memory previously allocated using LCFG_newRead. | |
unsigned | LCFG_finishLoad (LEM_micr *cr) |
Finish a load operation. | |
unsigned | LCFG_finishRead (LEM_micr *cr) |
Finish a read operation. | |
RIM_decodeFn ** | LCFG_newDecode (void) |
Build an array of function pointers associating RIM_type to a function that decodes the payloads. | |
RIM_loadFn ** | LCFG_newLoad (void) |
Build an array of function pointers associating RIM_type to a function that loads the registers of that type. | |
RIM_readFn ** | LCFG_newRead (void) |
Build an array of function pointers associating RIM_tye to a function that reads the registers of that type. | |
unsigned | LCFG_record (RIM *rim, FPA_fcb *fpa) |
Send the RIM to the SSR. | |
unsigned | LCFG_setTrigger (RIM *rim, int enable, int marker, LEM_micr *cr) |
Enable or disable triggers. |
|
Constants used in sending data to the SSR.
|
|
Read configuration data. This routine reads a configuration master file then reads each file in the master file into a RIM structure.
|
|
Read map data. This routine reads a map data file into a map structure.
|
|
Free the memory previously allocated using LCFG_newDecode.
|
|
Free the memory previously allocated using LCFG_newLoad.
|
|
Free the memory previously allocated using LCFG_newRead.
|
|
Finish a load operation. The supplied command list is queued and completion is waited for if it has outstanding items on it.
|
|
Finish a read operation. The supplied command list is queued and completion is waited for if it has outstanding items on it.
|
|
Build an array of function pointers associating RIM_type to a function that decodes the payloads.
|
|
Build an array of function pointers associating RIM_type to a function that loads the registers of that type.
|
|
Build an array of function pointers associating RIM_tye to a function that reads the registers of that type.
|
|
Send the RIM to the SSR.
|
|
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 RIM data.
|