GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > QPIG / V1-0-5
Constituent: qpig     Tag: linux-gcc
#include "state_p.h"
#include <string.h>
#include <stdlib.h>
Include dependency graph for state.c:
Enumerations | |
enum | { CRU_MASK_PDU_0 = 0x080000, CRU_MASK_PDU_1 = 0x100000 } |
Functions | |
static void | report_ebmState (const QPIG_ebmState *state, FILE *fp) |
Report the EBM state. | |
static void | report_cruState (const QPIG_cruState *state, FILE *fp) |
Report the CRU state. | |
static void | report_pduState (const QPIG_pduState *state, const QPIG_cruState *cru, FILE *fp) |
Report the PDU register state. | |
static void | report_pdbState (const QPIG_dbState *state, FILE *fp) |
Report the state of the PIG_DB registers. | |
static void | report_pwrState (const QPIG_pwrState *state, FILE *fp) |
Report the state of the power registers. | |
size_t | QPIG_sizeofState (void) |
Return the size of the QPIG state structure. | |
QPIG_state * | QPIG_constructState (void *buffer) |
Construct a QPIG_state structure in the memory provided. | |
QPIG_state * | QPIG_allocState (void) |
Allocate memory for a QPIG_state structure and construct it as such. | |
void | QPIG_destructState (QPIG_state *state) |
Release resources associated with the QPIG_state structure. | |
const unsigned int * | QPIG_recoverState (QPIG_state *state, const unsigned int *buf) |
Copy the context information from the buffer. | |
void | QPIG_reportState (const QPIG_state *state, FILE *fp) |
Write a formatted ASCII description of the contents of the context to the file fp. |
|
Allocate memory for a QPIG_state structure and construct it as such.
|
|
Construct a QPIG_state structure in the memory provided.
|
|
Release resources associated with the QPIG_state structure.
|
|
Copy the context information from the buffer.
|
|
Write a formatted ASCII description of the contents of the context to the file fp.
|
|
Return the size of the QPIG state structure.
|
|
Report the CRU state.
|
|
Report the EBM state.
|
|
Report the state of the PIG_DB registers.
|
|
Report the PDU register state.
|
|
Report the state of the power registers.
|