GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > PIG / V9-0-0

Constituent: pig_flying     Tag: sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

state_p.h File Reference

Private data used in the accumulation of the state. More...

#include "PIG/state.h"
#include "LEM/list.h"

Include dependency graph for state_p.h:

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


Enumerations

enum  { PIG_SSR_APID = 0x3FE }
enum  PWR_TWR_SELECT {
  PWR_CAL = 0x2,
  PWR_TKR = 0x1
}
 Options to the power_twr function.
enum  PWR_TWR_STATE {
  PWR_OFF = 0,
  PWR_ON = 1
}
 Options to the power_twr function.

Functions

unsigned readEbmState (LEM_micr *cr, PIG_ebmState *state)
 Take a snapshot of the initial state of the EBM.
unsigned readCruState (LEM_micr *cr, PIG_cruState *state)
 Take a snapshot of the initial state of the CRU.
unsigned readPduState (LEM_micr *cr, PIG_pduState *state, const PIG_cruState *cru)
 Take a snapshot of the initial state of the PDU(s).
unsigned readDbState (LEM_micr *cr, PIG_dbState *state)
 Take a snapshot of the current contents of the registers controlled by PIG_DB.
unsigned readPwrState (LEM_micr *cr, PIG_pwrState *state)
 Take a snapshot of the current contents of the power registers.

Detailed Description

Private data used in the accumulation of the state.

Author:
James Swain - jswain@slac.stanford.edu

Function Documentation

unsigned readCruState LEM_micr *  cr,
PIG_cruState state
 

Take a snapshot of the initial state of the CRU.

Parameters:
state Pointer to a structure for caching the state of the CRU registers
cr Pointer to a structure holding correctly aligned mutli-item command and response lists

unsigned readDbState LEM_micr *  cr,
PIG_dbState state
 

Take a snapshot of the current contents of the registers controlled by PIG_DB.

Parameters:
state Pointer to a structure holding the state of the PIG_DB controlled registers
cr Pointer to a structure holding correctly aligned mutli-item command and response lists

unsigned readEbmState LEM_micr *  cr,
PIG_ebmState state
 

Take a snapshot of the initial state of the EBM.

Parameters:
state Pointer to a structure for caching the state of the EBM registers
cr Pointer to a structure holding correctly aligned mutli-item command and response lists

unsigned readPduState LEM_micr *  cr,
PIG_pduState state,
const PIG_cruState cru
 

Take a snapshot of the initial state of the PDU(s).

Parameters:
state Pointer to a structure for caching the state of the PDU registers
cru Pointer to a structure holding the state of the CRU registers
cr Pointer to a structure holding correctly aligned mutli-item command and response lists

unsigned readPwrState LEM_micr *  cr,
PIG_pwrState state
 

Take a snapshot of the current contents of the power registers.

Parameters:
state Pointer to a structure for caching the state of the power registers
cr Pointer to a structure holding correctly aligned mutli-item command and response lists


Generated on Thu Oct 26 13:57:27 2006 by  doxygen 1.4.4