GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > PIG / V10-0-1
Constituent: pig_flying     Tag: linux-gcc
#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 | initCrList (void *lists, unsigned int len, LEM_micr *cr) |
Initialize a multi-item command/response list. | |
unsigned | readEbmState (LEM_micr *cr, PIG_ebmState *state) |
Take a snapshot of the state of the EBM. | |
unsigned | readCruState (LEM_micr *cr, PIG_cruState *state) |
Take a snapshot of the state of the CRU. | |
unsigned | readPduState (LEM_micr *cr, PIG_pduState *state, const PIG_cruState *cru) |
Take a snapshot of the 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. |
|
Initialize a multi-item command/response list. This routine optimally assigns portions of a supplied region to the various components of a LEM-style multi-item command/response list, and initializes the supplied list anchor block. Because of RAD750 hardware restrictions, the assigned command and response lists may not share a cache line (32-byte aligned block) with any other usage. This means that the assigned decode list must be 32-byte aligned if it follows either of the other lists, and that a command or response list assigned at the end cannot extend beyond the last 32-byte boundary in the supplied region.
CRD DCR DRC RCD RDC |
|
Take a snapshot of the state of the CRU.
|
|
Take a snapshot of the current contents of the registers controlled by PIG_DB.
|
|
Take a snapshot of the state of the EBM.
|
|
Take a snapshot of the state of the PDU(s).
|
|
Take a snapshot of the current contents of the power registers.
|