GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LRA / dev
Constituent: lra     Tag: mcp750
#include "PBS/WCT.h"
Include dependency graph for LRA.h:

This graph shows which files directly or indirectly include this file:

Data Structures | |
| struct | _LRA_regSpec |
| Structure to specify a register, or set of registers. More... | |
| struct | _LRA_blkDesc |
| Structure for register block descriptor. More... | |
| struct | _LRA_cmptDesc |
| Structure for component descriptor. More... | |
| struct | _LRA_regData |
| Structure to hold returned register data. More... | |
| struct | _LRA_esrData |
| Structure to hold returned error and status register data. More... | |
| struct | _LRA_cmdStats |
| Structure to hold command statistics. More... | |
| struct | _LRA_rcvStats |
| Structure to hold receive statistics. More... | |
| struct | _LRA_xmtStats |
| Structure to hold transmit/response statistics. More... | |
| struct | _LRA_aemTrgStats |
| Structure to hold AEM trigger statistics. More... | |
| struct | _LRA_arcErrStats |
| Structure to hold ARC event error statistics. More... | |
| struct | _LRA_fifoStats |
| Structure to hold CC FIFO statistics. More... | |
| struct | _LRA_cntrStats |
| Structure to hold simple counter statistics. More... | |
| struct | _LRA_gemStats |
| Structure to hold GEM statistics. More... | |
| struct | _LRA_gemStats_V2 |
| Structure to hold GEM statistics, version 2. More... | |
| struct | _LRA_gemStats_V1 |
| Structure to hold GEM statistics, version 1. More... | |
| struct | _LRA_cruStats |
| Structure to hold CRU statistics. More... | |
| struct | _LRA_pduStats |
| Structure to hold PDU statistics. More... | |
| struct | _LRA_ebmStats |
| Structure to hold EBM statistics. More... | |
| struct | _LRA_aemStats |
| Structure to hold AEM statistics. More... | |
| struct | _LRA_temStats |
| Structure to hold TEM statistics. More... | |
| struct | _LRA_ticStats |
| Structure to hold TIC statistics. More... | |
| struct | _LRA_cccStats |
| Structure to hold CCC statistics. More... | |
| struct | _LRA_tccStats |
| Structure to hold TCC statistics. More... | |
| struct | _LRA_stats |
| Structure to hold complete statistics. More... | |
| struct | _LRA_stats_V2 |
| Structure to hold complete statistics, version 2. More... | |
| struct | _LRA_stats_V1 |
| Structure to hold complete statistics, version 1. More... | |
| struct | _LRA_ebmEventStats |
| Structure to hold extracted EBM event statistics. More... | |
| struct | _LRA_gemCntrStats |
| Structure to hold extracted GEM counter statistics. More... | |
Typedefs | |
| typedef enum _LRA_misc | LRA_misc |
| Miscellaneous definitions. | |
| typedef enum _LRA_component | LRA_component |
| Component identifiers. | |
| typedef enum _LRA_counts | LRA_counts |
| Conponent counts. | |
| typedef enum _LRA_statsVersion | LRA_statsVersion |
| Statistics block version. | |
| typedef _LRA_regSpec | LRA_regSpec |
| Structure to specify a register, or set of registers. | |
| typedef _LRA_blkDesc | LRA_blkDesc |
| Structure for register block descriptor. | |
| typedef _LRA_cmptDesc | LRA_cmptDesc |
| Structure for component descriptor. | |
| typedef _LRA_regData | LRA_regData |
| Structure to hold returned register data. | |
| typedef _LRA_esrData | LRA_esrData |
| Structure to hold returned error and status register data. | |
| typedef _LRA_cmdStats | LRA_cmdStats |
| Structure to hold command statistics. | |
| typedef _LRA_rcvStats | LRA_rcvStats |
| Structure to hold receive statistics. | |
| typedef _LRA_xmtStats | LRA_xmtStats |
| Structure to hold transmit/response statistics. | |
| typedef _LRA_aemTrgStats | LRA_aemTrgStats |
| Structure to hold AEM trigger statistics. | |
| typedef _LRA_arcErrStats | LRA_arcErrStats |
| Structure to hold ARC event error statistics. | |
| typedef _LRA_fifoStats | LRA_fifoStats |
| Structure to hold CC FIFO statistics. | |
| typedef _LRA_cntrStats | LRA_cntrStats |
| Structure to hold simple counter statistics. | |
| typedef _LRA_gemStats | LRA_gemStats |
| Structure to hold GEM statistics. | |
| typedef _LRA_gemStats_V2 | LRA_gemStats_V2 |
| Structure to hold GEM statistics, version 2. | |
| typedef _LRA_gemStats_V1 | LRA_gemStats_V1 |
| Structure to hold GEM statistics, version 1. | |
| typedef _LRA_cruStats | LRA_cruStats |
| Structure to hold CRU statistics. | |
| typedef _LRA_pduStats | LRA_pduStats |
| Structure to hold PDU statistics. | |
| typedef _LRA_ebmStats | LRA_ebmStats |
| Structure to hold EBM statistics. | |
| typedef _LRA_aemStats | LRA_aemStats |
| Structure to hold AEM statistics. | |
| typedef _LRA_temStats | LRA_temStats |
| Structure to hold TEM statistics. | |
| typedef _LRA_ticStats | LRA_ticStats |
| Structure to hold TIC statistics. | |
| typedef _LRA_cccStats | LRA_cccStats |
| Structure to hold CCC statistics. | |
| typedef _LRA_tccStats | LRA_tccStats |
| Structure to hold TCC statistics. | |
| typedef _LRA_stats | LRA_stats |
| Structure to hold complete statistics. | |
| typedef _LRA_stats_V2 | LRA_stats_V2 |
| Structure to hold complete statistics, version 2. | |
| typedef _LRA_stats_V1 | LRA_stats_V1 |
| Structure to hold complete statistics, version 1. | |
| typedef _LRA_ebmEventStats | LRA_ebmEventStats |
| Structure to hold extracted EBM event statistics. | |
| typedef _LRA_gemCntrStats | LRA_gemCntrStats |
| Structure to hold extracted GEM counter statistics. | |
Enumerations | |
| enum | _LRA_misc { LRA_WILD = 255, LRA_ACTIVE = 254 } |
| Miscellaneous definitions. More... | |
| enum | _LRA_component { LRA_CPT_GEM = 1, LRA_CPT_EBM = 2, LRA_CPT_PDU0 = 3, LRA_CPT_PDU1 = 4, LRA_CPT_CRU = 5, LRA_CPT_TEM = 6, LRA_CPT_TIC = 7, LRA_CPT_CCC = 8, LRA_CPT_CRC = 9, LRA_CPT_CFE = 10, LRA_CPT_TCC = 11, LRA_CPT_TRC = 12, LRA_CPT_TFE = 13, LRA_CPT_AEM = 14, LRA_CPT_ARC = 15, LRA_CPT_AFE = 16, LRA_CPT_SIUE = 33, LRA_CPT_SIU0 = 34, LRA_CPT_SIU1 = 35, LRA_CPT_EPU0 = 36, LRA_CPT_EPU1 = 37, LRA_CPT_EPU2 = 38, LRA_CPT_BCST = LRA_WILD } |
| Component identifiers. | |
| enum | _LRA_counts { LRA_N_TEM = 16, LRA_N_CCC = 4, LRA_N_TCC = 8, LRA_N_CRC = 4, LRA_N_TRC = 9, LRA_N_ARC = 12, LRA_N_CFE = 12, LRA_N_TFE = 24, LRA_N_AFE = 18 } |
| Conponent counts. More... | |
| enum | _LRA_statsVersion { LRA_STATS_MAJOR = 3, LRA_STATS_MINOR = 0 } |
| Statistics block version. More... | |
Functions | |
| unsigned | LRA_bufSize (LRA_regSpec *rSpec, unsigned *size) |
| Get the size needed for the returned data buffer. | |
| unsigned | LRA_clearStats (void) |
| Clear the register statistics. | |
| unsigned | LRA_ctrl (LRA_regSpec *rSpec) |
| Perform a control operation. | |
| unsigned | LRA_findCmpt (int cmpnt, int block, LRA_cmptDesc **desc) |
| Find component in list. | |
| unsigned | LRA_getEbmEventStats (LRA_ebmEventStats *stats) |
| Get a copy of the EBM event statistics. | |
| unsigned | LRA_getGemCntrStats (LRA_gemCntrStats *stats) |
| Get a copy of the GEM counters. | |
| unsigned | LRA_getStats (LRA_stats *stats) |
| Get a copy of the register statistics. | |
| unsigned | LRA_initialize (unsigned period) |
| Initialize the register access system. | |
| unsigned | LRA_lam (unsigned cmpt, unsigned tem) |
| Perform a look-at-me operation. | |
| unsigned | LRA_lamLcb (unsigned cmpt, unsigned value, unsigned mask) |
| Perform a look-at-me directed to an LCB. | |
| unsigned | LRA_latReset (void) |
| Perform a LAT reset. | |
| unsigned | LRA_load (LRA_regSpec *rSpec, long long *value) |
| Perform a register load operation. | |
| unsigned | LRA_lookupBlk (LRA_cmptDesc *cDesc, char *bName, int *block) |
| Lookup register block in list. | |
| unsigned | LRA_lookupCmpt (char *cName, LRA_cmptDesc **desc) |
| Lookup component in list. | |
| unsigned | LRA_maxBufSize (unsigned *size) |
| Get the maximum size needed for the register data buffer. | |
| unsigned | LRA_read (LRA_regSpec *rSpec, LRA_regData *data) |
| Perform a register read operation. | |
| unsigned | LRA_readEsr (LRA_esrData *esr) |
| Read the error and status registers. | |
| unsigned | LRA_send (LRA_regSpec *rSpec) |
| Send register values to the spacecraft. | |
| unsigned | LRA_sendEsr (void) |
| Send the error and status register values to the spacecraft. | |
| unsigned | LRA_sendStats (void) |
| Send statistics data to the spacecraft. | |
| unsigned | LRA_setStatsPeriod (unsigned period) |
| Set the statistics update period. | |
| unsigned | LRA_sizeofEbmEventStats (void) |
| Get the size of the EBM event statistics block. | |
| unsigned | LRA_sizeofGemCntrStats (void) |
| Get the size of the GEM counters block. | |
| unsigned | LRA_sizeofStats (void) |
| Get the size of the LRA statistics block. | |
| unsigned | LRA_start (void) |
| Start the register access task. | |
| unsigned | LRA_startStats (void) |
| Start register statistics acquisition. | |
| unsigned | LRA_stop (void) |
| Stop the register access task. | |
| unsigned | LRA_stopStats (void) |
| Stop register statistics acquisition. | |
| unsigned | LRA_terminate (void) |
| Terminate register access. | |
|
|
|
Miscellaneous definitions.
|
|
|
Statistics block version.
|
|
||||||||||||
|
Get the size needed for the returned data buffer. This routine returns the size needed for the buffer used to hold the read register data.
|
|
|
Clear the register statistics. The register statistics are cleared, with controlled access.
|
|
|
Perform a control operation. The internal routine is called to carry out the specified control operation on the specified component.
|
|
||||||||||||||||
|
Find component in list. The component number is used to locate and return the matching component descriptor, and the block number is checked for validity.
|
|
|
Get a copy of the EBM event statistics. The EBM event statistics are copied, with controlled access. Only the operation counts are copied.
|
|
|
Get a copy of the GEM counters. The GEM extended counters are copied, with controlled access. Only the counter values are copied.
|
|
|
Get a copy of the register statistics. The register statistics are copied, with controlled access.
|
|
|
Initialize the register access system. This routine sets up the apparatus needed by the register access system.
|
|
||||||||||||
|
Perform a look-at-me operation. The internal routine is called to send a look-at-me to the specified component.
|
|
||||||||||||||||
|
Perform a look-at-me directed to an LCB. The internal routine is called to send a look-at-me to the specified LCB component.
|
|
|
Perform a LAT reset. The whole LAT is reset.
|
|
||||||||||||
|
Perform a register load operation. The internal routine is called to load the specified value into one or more instances of the specified register.
|
|
||||||||||||||||
|
Lookup register block in list. The register block name is used to locate and return the matching block number in the list of valid blocks for the given component.
|
|
||||||||||||
|
Lookup component in list. The component name is used to locate and return the matching component descriptor from the list of valid components.
|
|
|
Get the maximum size needed for the register data buffer. This routine returns the maximum size needed for the buffer used to hold the read register data. It assumes the maximum possible wild carding of the register description.
|
|
||||||||||||
|
Perform a register read operation. The internal routine is called to read the specified registers into the supplied data area. This area is presumed to be big enough to hold the data, and the correct size may be determined in advance by calling the LRA_bufSize routine.
|
|
|
Read the error and status registers. The internal routine is called to read and store the contents of a pre-determined set of LAT error and status registers. No error is reported if a read operation times out.
|
|
|
Send register values to the spacecraft. A request is queued to the LRA task to read the specified registers and send them to the spacecraft via the SSR.
|
|
|
Send the error and status register values to the spacecraft. A request is queued to the LRA task to read the contents of a pre- determined set of LAT error and status registers and send them to the spacecraft via the SSR.
|
|
|
Send statistics data to the spacecraft. A request is queued to the LRA task to send the statistics data block to the spacecraft via the SSR.
|
|
|
Set the statistics update period. This routine sets the statistics update period to a new value.
|
|
|
Get the size of the EBM event statistics block. The size of the EBM event statistics block is returned.
|
|
|
Get the size of the GEM counters block. The size of the GEM extended counters block is returned.
|
|
|
Get the size of the LRA statistics block. The size of the whole LRA statistics block is returned.
|
|
|
Start the register access task. This routine starts the register access task after checking that initialization has been successful.
|
|
|
Start register statistics acquisition. The periodic updating of the register statistics block is started after the registers and statistics are cleared.
|
|
|
Stop the register access task. This routine stops the register access task.
|
|
|
Stop register statistics acquisition. The periodic updating of the register statistics block is stopped.
|
|
|
Terminate register access. This routine frees all resources used by the register access system.
|
1.4.4