GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > QPIG / V1-0-2
Constituent: qpig     Tag: linux-gcc
#include <unistd.h>
#include <stdio.h>
Include dependency graph for state.h:
This graph shows which files directly or indirectly include this file:
Data Structures | |
struct | QPIG_cruState |
State of the CRU. More... | |
struct | QPIG_pduState |
State of the PDU. More... | |
struct | QPIG_ebmState |
Structure used to record the state of the EBM. More... | |
struct | QPIG_dbState |
Structure holding all the registers that are configured by PIG_DB. More... | |
struct | QPIG_pwrState |
Structure holding all the power registers that are controlled by PIG. More... | |
struct | QPIG_state |
Combination of structure encapsulating the current state of the registers manipulated by PIG. More... | |
Enumerations | |
enum | { QPIG_N_PDU = 2, QPIG_N_TEM = 16, QPIG_N_CCC = 4, QPIG_N_TCC = 8, QPIG_N_FREE = 12 } |
Functions | |
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. | |
void | QPIG_reportState (const QPIG_state *state, FILE *fp) |
Write a formatted ASCII description of the contents of the context to the file fp. | |
const unsigned int * | QPIG_recoverState (QPIG_state *state, const unsigned int *buf) |
Copy the context information from the buffer. |
|
|
|
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.
|