GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LCFG / V1-2-3

Constituent: lcfg     Tag: mv2304


Interface   Data Structures   File List   Data Fields   Globals  

LCFG_lem.c File Reference

Functions for interfacing to the LEM routines. More...

#include "LCFG_p.h"
#include "LCFG/LCFG.h"
#include "LCFG/LCFG_msgs.h"
#include "MSG/MSG_pubdefs.h"
#include "LEM/msg_macros.h"
#include "LEM/decode.h"
#include "LEM/encode.h"
#include "LEM/list.h"
#include "PBS/MBA.h"

Include dependency graph for LCFG_lem.c:


Functions

static unsigned loadGEM (void *param, const LCFG_addr *addr, unsigned regId, const void *value)
 Load a GEM controller register.
static unsigned readGEM (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_rqstInfo *info)
static unsigned loadWIN (void *param, const LCFG_addr *addr, unsigned regId, const void *value)
 Load a GEM window register.
static unsigned readWIN (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_rqstInfo *info)
static unsigned loadTAM (void *param, const LCFG_addr *addr, unsigned regId, const void *value)
 Load a GEM TAM generator register.
static unsigned readTAM (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_rqstInfo *info)
static unsigned loadSCH (void *param, const LCFG_addr *addr, unsigned regId, const void *value)
 Load a GEM scheduler register.
static unsigned readSCH (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_rqstInfo *info)
static unsigned loadROI (void *param, const LCFG_addr *addr, unsigned regId, const void *value)
 Load a GEM region-of-interest register.
static unsigned readROI (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_rqstInfo *info)
static unsigned loadTIE (void *param, const LCFG_addr *addr, unsigned regId, const void *value)
 Load a GEM input enable register.
static unsigned readTIE (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_rqstInfo *info)
static unsigned loadAEM (void *param, const LCFG_addr *addr, unsigned regId, const void *value)
 Load an AEM controller register.
static unsigned readAEM (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_rqstInfo *info)
static unsigned loadARC (void *param, const LCFG_addr *addr, unsigned regId, const void *value)
 Load an ARC register.
static unsigned readARC (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_rqstInfo *info)
static unsigned loadAFE (void *param, const LCFG_addr *addr, unsigned regId, const void *value)
 Load an AFE register.
static unsigned readAFE (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_rqstInfo *info)
static unsigned loadTEM (void *param, const LCFG_addr *addr, unsigned regId, const void *value)
 Load a TEM register.
static unsigned readTEM (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_rqstInfo *info)
static unsigned loadTIC (void *param, const LCFG_addr *addr, unsigned regId, const void *value)
 Load a TIC register.
static unsigned readTIC (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_rqstInfo *info)
static unsigned loadCCC (void *param, const LCFG_addr *addr, unsigned regId, const void *value)
 Load a CCC register.
static unsigned readCCC (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_rqstInfo *info)
static unsigned loadCRC (void *param, const LCFG_addr *addr, unsigned regId, const void *value)
 Load a CRC register.
static unsigned readCRC (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_rqstInfo *info)
static unsigned loadCFE (void *param, const LCFG_addr *addr, unsigned regId, const void *value)
 Load a CFE register.
static unsigned readCFE (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_rqstInfo *info)
static unsigned loadTCC (void *param, const LCFG_addr *addr, unsigned regId, const void *value)
 Load a TCC register.
static unsigned readTCC (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_rqstInfo *info)
static unsigned loadTRC (void *param, const LCFG_addr *addr, unsigned regId, const void *value)
 Load a TRC register.
static unsigned readTRC (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_rqstInfo *info)
static unsigned loadTFE (void *param, const LCFG_addr *addr, unsigned regId, const void *value)
 Load a TFE register.
static unsigned readTFE (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_rqstInfo *info)
static unsigned loadTDC (void *param, const LCFG_addr *addr, unsigned regId, const void *value)
 Load the TDC psuedo-component register (actually part of the TFE).
static unsigned readTDC (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_rqstInfo *info)
static unsigned loadSPT (void *param, const LCFG_addr *addr, unsigned regId, const void *value)
 Load an SPT pseudo-component register (actually does nothing).
static unsigned readSPT (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_rqstInfo *info)
static void decodeGEM (unsigned short *pkt, void *ptr, const RIM_rqstInfo *info)
 Decode the GEM result item.
static void decodeWIN (unsigned short *pkt, void *ptr, const RIM_rqstInfo *info)
 Decode the WIN result item.
static void decodeTAM (unsigned short *pkt, void *ptr, const RIM_rqstInfo *info)
 Decode the TAM result item.
static void decodeSCH (unsigned short *pkt, void *ptr, const RIM_rqstInfo *info)
 Decode the SCH result item.
static void decodeROI (unsigned short *pkt, void *ptr, const RIM_rqstInfo *info)
 Decode the ROI result item.
static void decodeTIE (unsigned short *pkt, void *ptr, const RIM_rqstInfo *info)
 Decode the TIE result item.
static void decodeAEM (unsigned short *pkt, void *ptr, const RIM_rqstInfo *info)
 Decode the AEM result item.
static void decodeARC (unsigned short *pkt, void *ptr, const RIM_rqstInfo *info)
 Decode the ARC result item.
static void decodeAFE (unsigned short *pkt, void *ptr, const RIM_rqstInfo *info)
 Decode the AFE result item.
static void decodeTEM (unsigned short *pkt, void *ptr, const RIM_rqstInfo *info)
 Decode the TEM result item.
static void decodeTIC (unsigned short *pkt, void *ptr, const RIM_rqstInfo *info)
 Decode the TIC result item.
static void decodeCCC (unsigned short *pkt, void *ptr, const RIM_rqstInfo *info)
 Decode the CCC result item.
static void decodeCRC (unsigned short *pkt, void *ptr, const RIM_rqstInfo *info)
 Decode the CRC result item.
static void decodeCFE (unsigned short *pkt, void *ptr, const RIM_rqstInfo *info)
 Decode the CFE result item.
static void decodeTCC (unsigned short *pkt, void *ptr, const RIM_rqstInfo *info)
 Decode the TCC result item.
static void decodeTRC (unsigned short *pkt, void *ptr, const RIM_rqstInfo *info)
 Decode the TRC result item.
static void decodeTFE (unsigned short *pkt, void *ptr, const RIM_rqstInfo *info)
 Decode the TFE result item.
static void decodeTDC (unsigned short *pkt, void *ptr, const RIM_rqstInfo *info)
 Decode a result item containing the data for a register of the TDC pseudo-component.
static void decodeSPT (unsigned short *pkt, void *ptr, const RIM_rqstInfo *info)
 Decode the SPT pseudo-component result item.
static void modifyBroadcast (LCFG_addr *lem_addr, const LCFG_addr *lcfg_addr)
 Copy a LAT address, modifying any broadcast components.
static unsigned decodeList (LEM_micr *cr)
 Decode the items on a CR list.
RIM_loadFn ** LCFG_newLoad (void)
 Build an array of function pointers associating RIM_type to a function that loads the registers of that type.
void LCFG_deleteLoad (RIM_loadFn **load)
 Free the memory previously allocated using LCFG_newLoad.
RIM_readFn ** LCFG_newRead (void)
 Build an array of function pointers associating RIM_tye to a function that reads the registers of that type.
void LCFG_deleteRead (RIM_readFn **read)
 Free the memory previously allocated using LCFG_newRead.
RIM_decodeFn ** LCFG_newDecode (void)
 Build an array of function pointers associating RIM_type to a function that decodes the payloads.
void LCFG_deleteDecode (RIM_decodeFn **decode)
 Free the memory previously allocated using LCFG_newDecode.
unsigned LCFG_finishLoad (LEM_micr *cr)
 Finish a load operation.
unsigned LCFG_finishRead (LEM_micr *cr)
 Finish a read operation.
unsigned readGEM (void *param, const LCFG_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_rqstInfo *info)
 Read a GEM controller register.
unsigned readWIN (void *param, const LCFG_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_rqstInfo *info)
 Read a GEM window register.
unsigned readSCH (void *param, const LCFG_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_rqstInfo *info)
 Read a GEM scheduler register.
unsigned readTAM (void *param, const LCFG_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_rqstInfo *info)
 Read a GEM TAM generator register.
unsigned readROI (void *param, const LCFG_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_rqstInfo *info)
 Read a GEM region-of-interest register.
unsigned readTIE (void *param, const LCFG_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_rqstInfo *info)
 Read a GEM input enable register.
unsigned readAEM (void *param, const LCFG_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_rqstInfo *info)
 Read an AEM controller register.
unsigned readARC (void *param, const LCFG_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_rqstInfo *info)
 Read an ARC register.
unsigned readAFE (void *param, const LCFG_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_rqstInfo *info)
 Read an AFE register.
unsigned readTEM (void *param, const LCFG_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_rqstInfo *info)
 Read a TEM register.
unsigned readTIC (void *param, const LCFG_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_rqstInfo *info)
 Read a TIC register.
unsigned readCCC (void *param, const LCFG_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_rqstInfo *info)
 Read a CCC register.
unsigned readCRC (void *param, const LCFG_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_rqstInfo *info)
 Read a CRC register.
unsigned readCFE (void *param, const LCFG_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_rqstInfo *info)
 Read a CFE register.
unsigned readTCC (void *param, const LCFG_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_rqstInfo *info)
 Read a TCC register.
unsigned readTRC (void *param, const LCFG_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_rqstInfo *info)
 Read a TRC register.
unsigned readTFE (void *param, const LCFG_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_rqstInfo *info)
 Read a TFE register.
unsigned readTDC (void *param, const LCFG_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_rqstInfo *info)
 Read the TDC psuedo-component register (actually part of the TFE).
unsigned readSPT (void *param, const LCFG_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_rqstInfo *info)
 Read an SPT pseudo-component register.

Detailed Description

Functions for interfacing to the LEM routines.

Author:
James Swain & Owen Saxton
Id
LCFG_lem.c,v 1.5 2008/10/25 00:03:32 saxton Exp

Function Documentation

void decodeAEM unsigned short *  pkt,
void *  ptr,
const RIM_rqstInfo *  info
[static]
 

Decode the AEM result item.

Parameters:
pkt Pointer to a result item payload
ptr Pointer to memory location to put decoded value
info Pointer to block of request information

void decodeAFE unsigned short *  pkt,
void *  ptr,
const RIM_rqstInfo *  info
[static]
 

Decode the AFE result item.

Parameters:
pkt Pointer to a result item payload
ptr Pointer to memory location to put decoded value
info Pointer to block of request information

void decodeARC unsigned short *  pkt,
void *  ptr,
const RIM_rqstInfo *  info
[static]
 

Decode the ARC result item.

Parameters:
pkt Pointer to a result item payload
ptr Pointer to memory location to put decoded value
info Pointer to block of request information

void decodeCCC unsigned short *  pkt,
void *  ptr,
const RIM_rqstInfo *  info
[static]
 

Decode the CCC result item.

Parameters:
pkt Pointer to a result item payload
ptr Pointer to memory location to put decoded value
info Pointer to block of request information

void decodeCFE unsigned short *  pkt,
void *  ptr,
const RIM_rqstInfo *  info
[static]
 

Decode the CFE result item.

Parameters:
pkt Pointer to a result item payload
ptr Pointer to memory location to put decoded value
info Pointer to block of request information

void decodeCRC unsigned short *  pkt,
void *  ptr,
const RIM_rqstInfo *  info
[static]
 

Decode the CRC result item.

Parameters:
pkt Pointer to a result item payload
ptr Pointer to memory location to put decoded value
info Pointer to block of request information

void decodeGEM unsigned short *  pkt,
void *  ptr,
const RIM_rqstInfo *  info
[static]
 

Decode the GEM result item.

Parameters:
pkt Pointer to a result item payload
ptr Pointer to memory location to put decoded value
info Pointer to block of request information

unsigned decodeList LEM_micr *  cr  )  [static]
 

Decode the items on a CR list.

This routine iterates through the result items, checks for errors then calls the decode-item function using the result-item payload an decode-item des pointer as parameters

Parameters:
cr Pointer to a multi-item C/R structure that has been filled, queued and transferred correctly
Returns:
Mapped result item error from LCBD, or LEM_SUCCESS if all result items are good.

void decodeROI unsigned short *  pkt,
void *  ptr,
const RIM_rqstInfo *  info
[static]
 

Decode the ROI result item.

Parameters:
pkt Pointer to a result item payload
ptr Pointer to memory location to put decoded value
info Pointer to block of request information

void decodeSCH unsigned short *  pkt,
void *  ptr,
const RIM_rqstInfo *  info
[static]
 

Decode the SCH result item.

Parameters:
pkt Pointer to a result item payload
ptr Pointer to memory location to put decoded value
info Pointer to block of request information

void decodeSPT unsigned short *  pkt,
void *  ptr,
const RIM_rqstInfo *  info
[static]
 

Decode the SPT pseudo-component result item.

Parameters:
pkt Pointer to a result item payload
ptr Pointer to memory location to put decoded value
info Pointer to block of request information

void decodeTAM unsigned short *  pkt,
void *  ptr,
const RIM_rqstInfo *  info
[static]
 

Decode the TAM result item.

Parameters:
pkt Pointer to a result item payload
ptr Pointer to memory location to put decoded value
info Pointer to block of request information

void decodeTCC unsigned short *  pkt,
void *  ptr,
const RIM_rqstInfo *  info
[static]
 

Decode the TCC result item.

Parameters:
pkt Pointer to a result item payload
ptr Pointer to memory location to put decoded value
info Pointer to block of request information

void decodeTDC unsigned short *  pkt,
void *  ptr,
const RIM_rqstInfo *  info
[static]
 

Decode a result item containing the data for a register of the TDC pseudo-component.

Parameters:
pkt Pointer to a result item payload
ptr Pointer to memory location to put decoded value
info Pointer to block of request information

void decodeTEM unsigned short *  pkt,
void *  ptr,
const RIM_rqstInfo *  info
[static]
 

Decode the TEM result item.

Parameters:
pkt Pointer to a result item payload
ptr Pointer to memory location to put decoded value
info Pointer to block of request information

void decodeTFE unsigned short *  pkt,
void *  ptr,
const RIM_rqstInfo *  info
[static]
 

Decode the TFE result item.

Parameters:
pkt Pointer to a result item payload
ptr Pointer to memory location to put decoded value
info Pointer to block of request information

void decodeTIC unsigned short *  pkt,
void *  ptr,
const RIM_rqstInfo *  info
[static]
 

Decode the TIC result item.

Parameters:
pkt Pointer to a result item payload
ptr Pointer to memory location to put decoded value
info Pointer to block of request information

void decodeTIE unsigned short *  pkt,
void *  ptr,
const RIM_rqstInfo *  info
[static]
 

Decode the TIE result item.

Parameters:
pkt Pointer to a result item payload
ptr Pointer to memory location to put decoded value
info Pointer to block of request information

void decodeTRC unsigned short *  pkt,
void *  ptr,
const RIM_rqstInfo *  info
[static]
 

Decode the TRC result item.

Parameters:
pkt Pointer to a result item payload
ptr Pointer to memory location to put decoded value
info Pointer to block of request information

void decodeWIN unsigned short *  pkt,
void *  ptr,
const RIM_rqstInfo *  info
[static]
 

Decode the WIN result item.

Parameters:
pkt Pointer to a result item payload
ptr Pointer to memory location to put decoded value
info Pointer to block of request information

void LCFG_deleteDecode RIM_decodeFn **  decode  ) 
 

Free the memory previously allocated using LCFG_newDecode.

Parameters:
decode Pointer to an allocated array of function pointers

void LCFG_deleteLoad RIM_loadFn **  load  ) 
 

Free the memory previously allocated using LCFG_newLoad.

Parameters:
load Pointer to an allocated array of function pointers

void LCFG_deleteRead RIM_readFn **  read  ) 
 

Free the memory previously allocated using LCFG_newRead.

Parameters:
read Pointer to an allocated array of function pointers

unsigned LCFG_finishLoad LEM_micr *  cr  ) 
 

Finish a load operation.

The supplied command list is queued and completion is waited for if it has outstanding items on it.

Parameters:
cr Multi-item command-response list used to load the registers
Return values:
LCFG_SUCCESS if all goes well
LEM_* if there is an error arising from one of the register load commands

unsigned LCFG_finishRead LEM_micr *  cr  ) 
 

Finish a read operation.

The supplied command list is queued and completion is waited for if it has outstanding items on it.

Parameters:
cr Multi-item command-response list used to read the registers
Return values:
LCFG_SUCCESS Always

RIM_decodeFn** LCFG_newDecode void   ) 
 

Build an array of function pointers associating RIM_type to a function that decodes the payloads.

Returns:
Pointer to an allocated array of RIM_decodeFn function pointers

RIM_loadFn** LCFG_newLoad void   ) 
 

Build an array of function pointers associating RIM_type to a function that loads the registers of that type.

Returns:
Pointer to an allocated array of RIM_loadFn function pointers

RIM_readFn** LCFG_newRead void   ) 
 

Build an array of function pointers associating RIM_tye to a function that reads the registers of that type.

Returns:
Pointer to an allocated array of RIM_readFn function pointers

unsigned loadAEM void *  param,
const LCFG_addr addr,
unsigned  regId,
const void *  value
[static]
 

Load an AEM controller register.

Parameters:
param Pointer to the command-response structure
addr Pointer to an address structure
regId Register ID of the target register
value Ptr to value to load into the register

unsigned loadAFE void *  param,
const LCFG_addr addr,
unsigned  regId,
const void *  value
[static]
 

Load an AFE register.

Parameters:
param Pointer to the command-response structure
addr Pointer to an address structure
regId Register ID of the target register
value Ptr to value to load into the register

unsigned loadARC void *  param,
const LCFG_addr addr,
unsigned  regId,
const void *  value
[static]
 

Load an ARC register.

Parameters:
param Pointer to the command-response structure
addr Pointer to an address structure
regId Register ID of the target register
value Ptr to value to load into the register

unsigned loadCCC void *  param,
const LCFG_addr addr,
unsigned  regId,
const void *  value
[static]
 

Load a CCC register.

Parameters:
param Pointer to the command-response structure
addr Pointer to an address structure
regId Register ID of the target register
value Ptr to value to load into the register

unsigned loadCFE void *  param,
const LCFG_addr addr,
unsigned  regId,
const void *  value
[static]
 

Load a CFE register.

Parameters:
param Pointer to the command-response structure
addr Pointer to an address structure
regId Register ID of the target register
value Ptr to value to load into the register

unsigned loadCRC void *  param,
const LCFG_addr addr,
unsigned  regId,
const void *  value
[static]
 

Load a CRC register.

Parameters:
param Pointer to the command-response structure
addr Pointer to an address structure
regId Register ID of the target register
value Ptr to value to load into the register

unsigned loadGEM void *  param,
const LCFG_addr addr,
unsigned  regId,
const void *  value
[static]
 

Load a GEM controller register.

Parameters:
param Pointer to the command-response structure
addr Pointer to an address structure
regId Register ID of the target register
value Ptr to value to load into the register

unsigned loadROI void *  param,
const LCFG_addr addr,
unsigned  regId,
const void *  value
[static]
 

Load a GEM region-of-interest register.

Parameters:
param Pointer to the command-response structure
addr Pointer to an address structure
regId Register ID of the target register
value Ptr to value to load into the register

unsigned loadSCH void *  param,
const LCFG_addr addr,
unsigned  regId,
const void *  value
[static]
 

Load a GEM scheduler register.

Parameters:
param Pointer to a command-response structure
addr Pointer to an address structure
regId Register ID of the target register
value Ptr to value to load into the register

unsigned loadSPT void *  param,
const LCFG_addr addr,
unsigned  regId,
const void *  value
[static]
 

Load an SPT pseudo-component register (actually does nothing).

Parameters:
param Pointer to the command-response structure
addr Pointer to an address structure
regId Register ID of the target register
value Ptr to value to load into the register

unsigned loadTAM void *  param,
const LCFG_addr addr,
unsigned  regId,
const void *  value
[static]
 

Load a GEM TAM generator register.

Parameters:
param Pointer to a command-response structure
addr Pointer to an address structure
regId Register ID of the target register
value Ptr to value to load into the register

unsigned loadTCC void *  param,
const LCFG_addr addr,
unsigned  regId,
const void *  value
[static]
 

Load a TCC register.

Parameters:
param Pointer to the command-response structure
addr Pointer to an address structure
regId Register ID of the target register
value Ptr to value to load into the register

unsigned loadTDC void *  param,
const LCFG_addr addr,
unsigned  regId,
const void *  value
[static]
 

Load the TDC psuedo-component register (actually part of the TFE).

Parameters:
param Pointer to the command-response structure
addr Pointer to an address structure
value Ptr to value to load into the register
regId Ignored

unsigned loadTEM void *  param,
const LCFG_addr addr,
unsigned  regId,
const void *  value
[static]
 

Load a TEM register.

Parameters:
param Pointer to the command-response structure
addr Pointer to an address structure
regId Register ID of the target register
value Ptr to value to load into the register

unsigned loadTFE void *  param,
const LCFG_addr addr,
unsigned  regId,
const void *  value
[static]
 

Load a TFE register.

Parameters:
param Pointer to the command-response structure
addr Pointer to an address structure
regId Register ID of the target register
value Ptr to value to load into the register

unsigned loadTIC void *  param,
const LCFG_addr addr,
unsigned  regId,
const void *  value
[static]
 

Load a TIC register.

Parameters:
param Pointer to the command-response structure
addr Pointer to an address structure
regId Register ID of the target register
value Ptr to value to load into the register

unsigned loadTIE void *  param,
const LCFG_addr addr,
unsigned  regId,
const void *  value
[static]
 

Load a GEM input enable register.

Parameters:
param Pointer to the command-response structure
addr Pointer to an address structure
regId Register ID of the target register
value Ptr to value to load into the register

unsigned loadTRC void *  param,
const LCFG_addr addr,
unsigned  regId,
const void *  value
[static]
 

Load a TRC register.

Parameters:
param Pointer to the command-response structure
addr Pointer to an address structure
regId Register ID of the target register
value Ptr to value to load into the register

unsigned loadWIN void *  param,
const LCFG_addr addr,
unsigned  regId,
const void *  value
[static]
 

Load a GEM window register.

Parameters:
param Pointer to a command-response structure
addr Pointer to an address structure
regId Register ID of the target register
value Ptr to value to load into the register

void modifyBroadcast LCFG_addr lem_addr,
const LCFG_addr lcfg_addr
[inline, static]
 

Copy a LAT address, modifying any broadcast components.

A LCFG address is copied and any broadcast components are changed from the LCFG value to the standard LEM value.

Parameters:
lem_addr Pointer to the destination address
lcfg_addr Pointer to the source address

unsigned readAEM void *  param,
const LCFG_addr addr,
unsigned  regId,
RIM_decodeFn  dfn,
void *  dst,
const RIM_rqstInfo *  info
 

Read an AEM controller register.

Parameters:
param Pointer to a command-response structure
addr Pointer to an address structure
regId Register ID of the target register
dfn Pointer to the function to use to decode the response
dst Ptr to location to place the value from this register
info Pointer to a structure used to record errors.

unsigned readAFE void *  param,
const LCFG_addr addr,
unsigned  regId,
RIM_decodeFn  dfn,
void *  dst,
const RIM_rqstInfo *  info
 

Read an AFE register.

Parameters:
param Pointer to a decode structure
addr Pointer to an address structure
regId Register ID of the target register
dfn Pointer to the function to use to decode the response
dst Ptr to location to place the value from this register
info Pointer to a structure used to record errors.

unsigned readARC void *  param,
const LCFG_addr addr,
unsigned  regId,
RIM_decodeFn  dfn,
void *  dst,
const RIM_rqstInfo *  info
 

Read an ARC register.

Parameters:
param Pointer to a command-response structure
addr Pointer to an address structure
regId Register ID of the target register
dfn Pointer to the function to use to decode the response
dst Ptr to location to place the value from this register
info Pointer to a structure used to record errors.

unsigned readCCC void *  param,
const LCFG_addr addr,
unsigned  regId,
RIM_decodeFn  dfn,
void *  dst,
const RIM_rqstInfo *  info
 

Read a CCC register.

Parameters:
param Pointer to a decode structure
addr Pointer to an address structure
regId Register ID of the target register
dfn Pointer to the function to use to decode the response
dst Ptr to location to place the value from this register
info Pointer to a structure used to record errors.

unsigned readCFE void *  param,
const LCFG_addr addr,
unsigned  regId,
RIM_decodeFn  dfn,
void *  dst,
const RIM_rqstInfo *  info
 

Read a CFE register.

Parameters:
param Pointer to a decode structure
addr Pointer to an address structure
regId Register ID of the target register
dfn Pointer to the function to use to decode the response
dst Ptr to location to place the value from this register
info Pointer to a structure used to record errors.

unsigned readCRC void *  param,
const LCFG_addr addr,
unsigned  regId,
RIM_decodeFn  dfn,
void *  dst,
const RIM_rqstInfo *  info
 

Read a CRC register.

Parameters:
param Pointer to a decode structure
addr Pointer to an address structure
regId Register ID of the target register
dfn Pointer to the function to use to decode the response
dst Ptr to location to place the value from this register
info Pointer to a structure used to record errors.

unsigned readGEM void *  param,
const LCFG_addr addr,
unsigned  regId,
RIM_decodeFn  dfn,
void *  dst,
const RIM_rqstInfo *  info
 

Read a GEM controller register.

Parameters:
param Pointer to a decode structure
addr Pointer to an address structure
regId Register ID of the target register
dfn Pointer to the function to use to decode the response
dst Pointer to location to place the decoded response
info Pointer to a structure used to record errors.

unsigned readROI void *  param,
const LCFG_addr addr,
unsigned  regId,
RIM_decodeFn  dfn,
void *  dst,
const RIM_rqstInfo *  info
 

Read a GEM region-of-interest register.

Parameters:
param Pointer to a command-response structure
addr Pointer to an address structure
regId Register ID of the target register
dfn Pointer to the function to use to decode the response
dst Ptr to location to place the value from this register
info Pointer to a structure used to record errors.

unsigned readSCH void *  param,
const LCFG_addr addr,
unsigned  regId,
RIM_decodeFn  dfn,
void *  dst,
const RIM_rqstInfo *  info
 

Read a GEM scheduler register.

Parameters:
param Pointer to a decode structure
addr Pointer to an address structure
regId Register ID of the target register
dfn Pointer to the function to use to decode the response
dst Ptr to location to place the value from this register
info Pointer to a structure used to record errors.

unsigned readSPT void *  param,
const LCFG_addr addr,
unsigned  regId,
RIM_decodeFn  dfn,
void *  dst,
const RIM_rqstInfo *  info
 

Read an SPT pseudo-component register.

Parameters:
param Pointer to a decode structure
addr Pointer to an address structure
regId Register ID of the target register
dfn Pointer to the function to use to decode the response
dst Ptr to location to place the value from this register
info Pointer to a structure used to record errors.

unsigned readTAM void *  param,
const LCFG_addr addr,
unsigned  regId,
RIM_decodeFn  dfn,
void *  dst,
const RIM_rqstInfo *  info
 

Read a GEM TAM generator register.

Parameters:
param Pointer to a command-response structure
addr Pointer to an address structure
regId Register ID of the target register
info Pointer to a structure used to record errors.
dfn Pointer to the function to use to decode the response
dst Ptr to location to place the value from this register

unsigned readTCC void *  param,
const LCFG_addr addr,
unsigned  regId,
RIM_decodeFn  dfn,
void *  dst,
const RIM_rqstInfo *  info
 

Read a TCC register.

Parameters:
param Pointer to a decode structure
addr Pointer to an address structure
regId Register ID of the target register
dfn Pointer to the function to use to decode the response
dst Ptr to location to place the value from this register
info Pointer to a structure used to record errors.

unsigned readTDC void *  param,
const LCFG_addr addr,
unsigned  regId,
RIM_decodeFn  dfn,
void *  dst,
const RIM_rqstInfo *  info
 

Read the TDC psuedo-component register (actually part of the TFE).

Parameters:
param Pointer to a decode structure
addr Pointer to an address structure
regId Ignored
dfn Pointer to the function to use to decode the response
dst Ptr to location to place the value from this register
info Pointer to a structure used to record errors.

unsigned readTEM void *  param,
const LCFG_addr addr,
unsigned  regId,
RIM_decodeFn  dfn,
void *  dst,
const RIM_rqstInfo *  info
 

Read a TEM register.

Parameters:
param Pointer to a decode structure
addr Pointer to an address structure
regId Register ID of the target register
dfn Pointer to the function to use to decode the response
dst Ptr to location to place the value from this register
info Pointer to a structure used to record errors.

unsigned readTFE void *  param,
const LCFG_addr addr,
unsigned  regId,
RIM_decodeFn  dfn,
void *  dst,
const RIM_rqstInfo *  info
 

Read a TFE register.

Parameters:
param Pointer to a decode structure
addr Pointer to an address structure
regId Register ID of the target register
dfn Pointer to the function to use to decode the response
dst Ptr to location to place the value from this register
info Pointer to a structure used to record errors.

unsigned readTIC void *  param,
const LCFG_addr addr,
unsigned  regId,
RIM_decodeFn  dfn,
void *  dst,
const RIM_rqstInfo *  info
 

Read a TIC register.

Parameters:
param Pointer to a decode structure
addr Pointer to an address structure
regId Register ID of the target register
dfn Pointer to the function to use to decode the response
dst Ptr to location to place the value from this register
info Pointer to a structure used to record errors.

unsigned readTIE void *  param,
const LCFG_addr addr,
unsigned  regId,
RIM_decodeFn  dfn,
void *  dst,
const RIM_rqstInfo *  info
 

Read a GEM input enable register.

Parameters:
param Pointer to a command-response structure
addr Pointer to an address structure
regId Register ID of the target register
dfn Pointer to the function to use to decode the response
dst Ptr to location to place the value from this register
info Pointer to a structure used to record errors.

unsigned readTRC void *  param,
const LCFG_addr addr,
unsigned  regId,
RIM_decodeFn  dfn,
void *  dst,
const RIM_rqstInfo *  info
 

Read a TRC register.

Parameters:
param Pointer to a decode structure
addr Pointer to an address structure
regId Register ID of the target register
dfn Pointer to the function to use to decode the response
dst Ptr to location to place the value from this register
info Pointer to a structure used to record errors.

unsigned readWIN void *  param,
const LCFG_addr addr,
unsigned  regId,
RIM_decodeFn  dfn,
void *  dst,
const RIM_rqstInfo *  info
 

Read a GEM window register.

Parameters:
param Pointer to a decode structure
addr Pointer to an address structure
regId Register ID of the target register
dfn Pointer to the function to use to decode the response
dst Ptr to location to place the value from this register
info Pointer to a structure used to record errors.


Generated on Wed Apr 22 01:15:31 2009 by  doxygen 1.4.4