GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LATC / dev > latc_wb / mv2304
#include <imm.h>
Classes | |
struct | LATC_di |
Collection of data required to record errors. More... | |
Defines | |
#define | DECODE_SIZE(n_) (n_ * (sizeof(LATC_di)) ) |
Size of the structure to hold the decode information (function and destination for each command item). | |
Functions | |
unsigned | LATC_load (LATC_imm *imm, LEM_micr *cr) |
Load the LAT with the configuration held in imm. | |
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.
imm | The IMM structure to use as the basis for the load commands sent to the LAT | |
cr | Pointer to structure holding multi-item command and response lists (plus some state information) |
LATC_SUCCESS | If the LAT is loaded successfully | |
LEM_* | If there is an error arising from one of the load commands |
References LEM_load::cr, LEM_load::ldfn, loadSimple(), loadSplit(), and loadTracker().
Referenced by LATC_configure().
unsigned LATC_read | ( | LATC_imm * | imm, | |
LEM_micr * | cr, | |||
LATC_di * | di, | |||
const LATC_map * | ign | |||
) |
Read the current configuration of the LAT.
imm | Pointer to the IMM structure to populate from the LAT | |
cr | Pointer to structure holding multi-item command and response lists (plus some state information) | |
di | Array of lem_max_ci latc_di objects that capture read errors from the corresponding command items | |
ign | Map of the sections of the lat known to be bad or not present so can be ignored. |
LATC_SUCCESS | If all goes well - note that individual register reads may fail but the operation as a whole still succeeds. | |
LEM_* | An error concerning the queuing of the c/r list
|
References LEM_read::cr, LEM_read::ddfn, LEM_read::di, handleReadErrors(), LEM_read::rdfn, readSimple(), readSplit(), and readTracker().
Referenced by LATC_capture().