GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> QPIG / V2-0-2 > qpig_print / linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

state.h File Reference

Structures that make up the PIG datagram sent to the SSR by PIG_record. More...

#include <unistd.h>
#include <stdio.h>

Classes

struct  _QPIG_cruState_V0
 State of the CRU - version 0. More...
struct  _QPIG_pduState_V0
 State of the PDU - version 0. More...
struct  _QPIG_ebmState_V0
 Structure used to record the state of the EBM - version 0. More...
struct  QPIG_dbState_V0
 Structure holding registers configured by PIG_DB - version 0. More...
struct  _QPIG_pwrState_V0
 Structure holding the power registers - version 0. More...
struct  _QPIG_pwrState_V1
 Structure holding the power registers - version 1. More...
struct  _QPIG_cruState
 Structure holding the state of the CRU. More...
struct  _QPIG_pduState
 Structure holding the state of the PDU. More...
struct  _QPIG_ebmState
 Structure used to record the state of the EBM. More...
struct  QPIG_dbState
 Structure holding the registers configured by PIG_DB. More...
struct  _QPIG_pwrState
 Structure holding the power registers. More...
struct  _QPIG_state_V0
 Combination of structures encapsulating the current state of the registers manipulated by PIG - version 0. More...
struct  _QPIG_state_V1
 Combination of structures encapsulating the current state of the registers manipulated by PIG - version 1. More...
struct  _QPIG_state
 Combination of structures encapsulating the current state of the registers manipulated by PIG. More...

Typedefs

typedef struct _QPIG_cruState_V0 QPIG_cruState_V0
 State of the CRU - version 0.
typedef struct _QPIG_pduState_V0 QPIG_pduState_V0
 State of the PDU - version 0.
typedef struct _QPIG_ebmState_V0 QPIG_ebmState_V0
 Structure used to record the state of the EBM - version 0.
typedef struct _QPIG_pwrState_V0 QPIG_pwrState_V0
 Structure holding the power registers - version 0.
typedef struct _QPIG_pwrState_V1 QPIG_pwrState_V1
 Structure holding the power registers - version 1.
typedef struct _QPIG_cruState QPIG_cruState
 Structure holding the state of the CRU.
typedef struct _QPIG_pduState QPIG_pduState
 Structure holding the state of the PDU.
typedef struct _QPIG_ebmState QPIG_ebmState
 Structure used to record the state of the EBM.
typedef struct _QPIG_pwrState QPIG_pwrState
 Structure holding the power registers.
typedef struct _QPIG_state_V0 QPIG_state_V0
 Combination of structures encapsulating the current state of the registers manipulated by PIG - version 0.
typedef struct _QPIG_state_V1 QPIG_state_V1
 Combination of structures encapsulating the current state of the registers manipulated by PIG - version 1.
typedef struct _QPIG_state QPIG_state
 Combination of structures encapsulating the current state of the registers manipulated by PIG.

Enumerations

enum  {
  QPIG_N_PDU = 2,
  QPIG_N_TEM = 16,
  QPIG_N_CCC = 4,
  QPIG_N_TCC = 8,
  QPIG_N_FREE = 12
}
 Detector constants. More...
enum  { QPIG_CURR_VERSION = 2 }
 Current version of the register state data.

Functions

QPIG_stateQPIG_allocState (void)
QPIG_stateQPIG_constructState (void *buffer)
void QPIG_destructState (QPIG_state *state)
const unsigned int * QPIG_recoverState (QPIG_state *state, int version, const unsigned int *buf)
void QPIG_reportState (unsigned int secs, int version, const QPIG_state *state, FILE *fp)
size_t QPIG_sizeofState (void)


Detailed Description

Structures that make up the PIG datagram sent to the SSR by PIG_record.

Author:
James Swain & Owen Saxton
Id
state.h,v 1.4 2009/02/27 19:26:00 saxton Exp

Enumeration Type Documentation

anonymous enum

Detector constants.

Enumerator:
QPIG_N_PDU  Number of PDUs.
QPIG_N_TEM  Number of TEMs.
QPIG_N_CCC  Number of CCCs.
QPIG_N_TCC  Number of TCCs.
QPIG_N_FREE  Number of FREE boards.


Generated on Fri Sep 30 19:13:47 2011 by  doxygen 1.5.8