GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > RIM / V1-0-0
Constituent: trim     Tag: mv2304
#include "RIM/RIM.h"
#include "ctors_p.h"
#include "RIM_descriptions.ic"
#include "RIM_number.ic"
#include "RIM_p.h"
#include "RIM_AG_init_p.h"
#include "RIM_AG_types_p.h"
#include <stdlib.h>
Include dependency graph for t_latp.c:
Defines | |
#define | SET_FIRST_ERROR { if(!latp_error) latp_error = __LINE__; } |
Macro that records the line number of the first error encountered. | |
Functions | |
void | advanceReg (const CptDescription *cd) |
Move the next regid. | |
void | advanceIdx (void) |
Move to the next index. | |
void | advanceTyp (void) |
Advance to the next type. | |
RIM_loadFn ** | LATC_newLoad (void) |
Build an array of function pointers associating RIM_type to a function that loads the registers of that type. | |
RIM_readFn ** | LATC_newRead (void) |
Build an array of function pointers associating RIM_tye to a function that reads the registers of that type. | |
RIM_decodeFn ** | LATC_newDecode (void) |
Build an array of function pointers associating RIM_type to a function that decodes the payloads. | |
void | LATC_deleteLoad (RIM_loadFn **load) |
Free the memory previously allocated using LATC_newLoad. | |
void | LATC_deleteRead (RIM_readFn **read) |
Free the memory previously allocated using LATC_newRead. | |
unsigned | LATC_loadGEM (void *param, const RIM_addr *addr, unsigned regId, const void *value) |
Load the register regId of the named component with value. | |
unsigned | LATC_readGEM (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_errorInfo *info) |
unsigned | LATC_loadWIN (void *param, const RIM_addr *addr, unsigned regId, const void *value) |
Load the register regId of the named component with value. | |
unsigned | LATC_readWIN (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_errorInfo *info) |
unsigned | LATC_loadTAM (void *param, const RIM_addr *addr, unsigned regId, const void *value) |
Load the register regId of the named component with value. | |
unsigned | LATC_readTAM (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_errorInfo *info) |
unsigned | LATC_loadSCH (void *param, const RIM_addr *addr, unsigned regId, const void *value) |
Load the register regId of the named component with value. | |
unsigned | LATC_readSCH (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_errorInfo *info) |
unsigned | LATC_loadROI (void *param, const RIM_addr *addr, unsigned regId, const void *value) |
Load the register regId of the named component with value. | |
unsigned | LATC_readROI (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_errorInfo *info) |
unsigned | LATC_loadTIE (void *param, const RIM_addr *addr, unsigned regId, const void *value) |
Load the register regId of the named component with value. | |
unsigned | LATC_readTIE (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_errorInfo *info) |
unsigned | LATC_loadAEM (void *param, const RIM_addr *addr, unsigned regId, const void *value) |
Load the register regId of the named component with value. | |
unsigned | LATC_readAEM (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_errorInfo *info) |
unsigned | LATC_loadARC (void *param, const RIM_addr *addr, unsigned regId, const void *value) |
Load the register regId of the named component with value. | |
unsigned | LATC_readARC (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_errorInfo *info) |
unsigned | LATC_loadAFE (void *param, const RIM_addr *addr, unsigned regId, const void *value) |
Load the register regId of the named component with value. | |
unsigned | LATC_readAFE (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_errorInfo *info) |
unsigned | LATC_loadTEM (void *param, const RIM_addr *addr, unsigned regId, const void *value) |
Load the register regId of the named component with value. | |
unsigned | LATC_readTEM (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_errorInfo *info) |
unsigned | LATC_loadTIC (void *param, const RIM_addr *addr, unsigned regId, const void *value) |
Load the register regId of the named component with value. | |
unsigned | LATC_readTIC (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_errorInfo *info) |
unsigned | LATC_loadCCC (void *param, const RIM_addr *addr, unsigned regId, const void *value) |
Load the register regId of the named component with value. | |
unsigned | LATC_readCCC (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_errorInfo *info) |
unsigned | LATC_loadCRC (void *param, const RIM_addr *addr, unsigned regId, const void *value) |
Load the register regId of the named component with value. | |
unsigned | LATC_readCRC (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_errorInfo *info) |
unsigned | LATC_loadCFE (void *param, const RIM_addr *addr, unsigned regId, const void *value) |
Load the register regId of the named component with value. | |
unsigned | LATC_readCFE (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_errorInfo *info) |
unsigned | LATC_loadTCC (void *param, const RIM_addr *addr, unsigned regId, const void *value) |
Load the register regId of the named component with value. | |
unsigned | LATC_readTCC (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_errorInfo *info) |
unsigned | LATC_loadTRC (void *param, const RIM_addr *addr, unsigned regId, const void *value) |
Load the register regId of the named component with value. | |
unsigned | LATC_readTRC (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_errorInfo *info) |
unsigned | LATC_loadTFE (void *param, const RIM_addr *addr, unsigned regId, const void *value) |
Load the register regId of the named component with value. | |
unsigned | LATC_readTFE (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_errorInfo *info) |
unsigned | LATC_loadTDC (void *param, const RIM_addr *addr, unsigned regId, const void *value) |
Load the (onlt) register regId of the "TDC" psuedo-component (actually part of the TFE) with value. | |
unsigned | LATC_readTDC (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_errorInfo *info) |
unsigned | LATC_loadSPT (void *param, const RIM_addr *addr, unsigned regId, const void *value) |
Does nothing, since one doesn't load the SPT values directly. | |
unsigned | LATC_readSPT (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_errorInfo *info) |
void | LATC_decodeGEM (unsigned short *pkt, void *ptr) |
Decode the result item. | |
void | LATC_decodeWIN (unsigned short *pkt, void *ptr) |
Decode the result item. | |
void | LATC_decodeTAM (unsigned short *pkt, void *ptr) |
Decode the result item. | |
void | LATC_decodeSCH (unsigned short *pkt, void *ptr) |
Decode the result item. | |
void | LATC_decodeROI (unsigned short *pkt, void *ptr) |
Decode the result item. | |
void | LATC_decodeTIE (unsigned short *pkt, void *ptr) |
Decode the result item. | |
void | LATC_decodeAEM (unsigned short *pkt, void *ptr) |
Decode the result item. | |
void | LATC_decodeARC (unsigned short *pkt, void *ptr) |
Decode the result item. | |
void | LATC_decodeAFE (unsigned short *pkt, void *ptr) |
Decode the result item. | |
void | LATC_decodeTEM (unsigned short *pkt, void *ptr) |
Decode the result item. | |
void | LATC_decodeTIC (unsigned short *pkt, void *ptr) |
Decode the result item. | |
void | LATC_decodeCCC (unsigned short *pkt, void *ptr) |
Decode the result item. | |
void | LATC_decodeCRC (unsigned short *pkt, void *ptr) |
Decode the result item. | |
void | LATC_decodeCFE (unsigned short *pkt, void *ptr) |
Decode the result item. | |
void | LATC_decodeTCC (unsigned short *pkt, void *ptr) |
Decode the result item. | |
void | LATC_decodeTRC (unsigned short *pkt, void *ptr) |
Decode the result item. | |
void | LATC_decodeTFE (unsigned short *pkt, void *ptr) |
Decode the result item. | |
void | LATC_decodeTDC (unsigned short *pkt, void *ptr) |
Decode a result item containing the data for a register of the "TDC" psuedo-component. | |
void | LATC_decodeSPT (unsigned short *pkt, void *ptr) |
Decode the result item. | |
int | t_latp (void *param) |
Test the RIM latp functions. | |
unsigned | checkRead (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_errorInfo *info) |
Generic function checking the parameters to the read function. | |
void | LATC_deleteDecode (RIM_decodeFn **decode) |
Free the memory previously allocated using LATC_newDecode. | |
unsigned | LATC_readGEM (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_errorInfo *info) |
Read the register regId of the named component. | |
unsigned | LATC_readWIN (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_errorInfo *info) |
Read the register regId of the named component. | |
unsigned | LATC_readSCH (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_errorInfo *info) |
Read the register regId of the named component. | |
unsigned | LATC_readTAM (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_errorInfo *info) |
Read the register regId of the named component. | |
unsigned | LATC_readROI (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_errorInfo *info) |
Read the register regId of the named component. | |
unsigned | LATC_readTIE (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_errorInfo *info) |
Read the register regId of the named component. | |
unsigned | LATC_readAEM (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_errorInfo *info) |
Read the register regId of the named component. | |
unsigned | LATC_readARC (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_errorInfo *info) |
Read the register regId of the named component. | |
unsigned | LATC_readAFE (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_errorInfo *info) |
Read the register regId of the named component. | |
unsigned | LATC_readTEM (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_errorInfo *info) |
Read the register regId of the named component. | |
unsigned | LATC_readTIC (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_errorInfo *info) |
Read the register regId of the named component. | |
unsigned | LATC_readCCC (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_errorInfo *info) |
Read the register regId of the named component. | |
unsigned | LATC_readCRC (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_errorInfo *info) |
Read the register regId of the named component. | |
unsigned | LATC_readCFE (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_errorInfo *info) |
Read the register regId of the named component. | |
unsigned | LATC_readTCC (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_errorInfo *info) |
Read the register regId of the named component. | |
unsigned | LATC_readTRC (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_errorInfo *info) |
Read the register regId of the named component. | |
unsigned | LATC_readTFE (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_errorInfo *info) |
Read the register regId of the named component. | |
unsigned | LATC_readTDC (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_errorInfo *info) |
Read the (only) register regId of the "TDC" psuedo-component (actually part of the TFE). | |
unsigned | LATC_readSPT (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_errorInfo *info) |
Does nothing, since one doesn't read the SPT values directly. | |
Variables | |
static unsigned | latp_error = 0 |
Store the line number of the first error. | |
static void * | passthru = (void*)(0xdeafabba) |
static unsigned | e_type = 0 |
static unsigned | e_index = 0 |
static unsigned | e_regid = 0 |
static RIM_readFn ** | e_rdFn |
static RIM_loadFn ** | e_ldFn |
static RIM_decodeFn ** | e_ddFn |
static RIM * | rim |
static RIM_map * | ign |
|
Generic function checking the parameters to the read function.
|
|
Decode the result item.
|
|
Decode the result item.
|
|
Decode the result item.
|
|
Decode the result item.
|
|
Decode the result item.
|
|
Decode the result item.
|
|
Decode the result item.
|
|
Decode the result item.
|
|
Decode the result item.
|
|
Decode the result item.
|
|
Decode the result item.
|
|
Decode the result item.
|
|
Decode a result item containing the data for a register of the "TDC" psuedo-component.
|
|
Decode the result item.
|
|
Decode the result item.
|
|
Decode the result item.
|
|
Decode the result item.
|
|
Decode the result item.
|
|
Decode the result item.
|
|
Free the memory previously allocated using LATC_newDecode.
|
|
Free the memory previously allocated using LATC_newLoad.
|
|
Free the memory previously allocated using LATC_newRead.
|
|
Load the register regId of the named component with value.
|
|
Load the register regId of the named component with value.
|
|
Load the register regId of the named component with value.
|
|
Load the register regId of the named component with value.
|
|
Load the register regId of the named component with value.
|
|
Load the register regId of the named component with value.
|
|
Load the register regId of the named component with value.
|
|
Load the register regId of the named component with value.
|
|
Load the register regId of the named component with value.
|
|
Does nothing, since one doesn't load the SPT values directly.
|
|
Load the register regId of the named component with value.
|
|
Load the register regId of the named component with value.
|
|
Load the (onlt) register regId of the "TDC" psuedo-component (actually part of the TFE) with value.
|
|
Load the register regId of the named component with value.
|
|
Load the register regId of the named component with value.
|
|
Load the register regId of the named component with value.
|
|
Load the register regId of the named component with value.
|
|
Load the register regId of the named component with value.
|
|
Load the register regId of the named component with value.
|
|
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.
|
|
Read the register regId of the named component.
|
|
Read the register regId of the named component.
|
|
Read the register regId of the named component.
|
|
Read the register regId of the named component.
|
|
Read the register regId of the named component.
|
|
Read the register regId of the named component.
|
|
Read the register regId of the named component.
|
|
Read the register regId of the named component.
|
|
Read the register regId of the named component.
|
|
Does nothing, since one doesn't read the SPT values directly.
|
|
Read the register regId of the named component.
|
|
Read the register regId of the named component.
|
|
Read the (only) register regId of the "TDC" psuedo-component (actually part of the TFE).
|
|
Read the register regId of the named component.
|
|
Read the register regId of the named component.
|
|
Read the register regId of the named component.
|
|
Read the register regId of the named component.
|
|
Read the register regId of the named component.
|
|
Read the register regId of the named component.
|
|
Test the RIM latp functions.
|