GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > PIG / V8-8-1
Constituent: pig_flying     Tag: linux-gcc
#include "PIG/power.h"
#include "PIG/PIG_msgs.h"
#include "state_p.h"
#include "pig_macro_p.h"
#include "CDM/CDM_pubdefs.h"
#include "LEM/list.h"
#include "LEM/encode.h"
#include "LEM/msg_macros.h"
#include <string.h>
Include dependency graph for cmdrsp.c:
Enumerations | |
enum | { CSR_STALL = 200, TEM_USE_RED_DAB = 3<<23 } |
Functions | |
static unsigned | cr_ins (LEM_micr *cr, PIG_cfg *cfg, PIG_state *state) |
If indicated by the cfg structure, insert PDU(s), GEM, EBM to the C/R fabric. | |
static unsigned | epus_on (LEM_micr *cr, PIG_cfg *cfg, PIG_state *state) |
Power on the EPUs as required, and update the state. | |
static unsigned | tems_on (LEM_micr *cr, PIG_cfg *cfg, PIG_state *state, const PIG_DB_Schema *pdb) |
Power on the TEMs as required, and update the state. | |
static unsigned | acd_on (LEM_micr *cr, PIG_cfg *cfg, PIG_state *state, const PIG_DB_Schema *pdb) |
Power on ACD and FREE boards as required. | |
static unsigned | cr_ext (LEM_micr *cr, PIG_cfg *cfg, PIG_state *state) |
If indicated by the cfg structure, extract PDU(s), GEM, EBM to the C/R fabric. | |
static unsigned | epus_off (LEM_micr *cr, PIG_cfg *cfg, PIG_state *state) |
Power on the EPUs as required, and update the state. | |
static unsigned | tems_off (LEM_micr *cr, PIG_cfg *cfg, PIG_state *state) |
Power on the TEMs as required, and update the state. | |
static unsigned | acd_off (LEM_micr *cr, PIG_cfg *cfg, PIG_state *state) |
Power on ACD and FREE boards as required. | |
static unsigned | twr_pwr (LEM_micr *cr, unsigned short mask, PWR_TWR_SELECT select, PWR_TWR_STATE state) |
Power on the calorimeter towers as required. | |
unsigned | PIG_insert (LEM_micr *cr, PIG_cfg *cfg) |
Insert one or more nodes into the C/R fabric, possibly powering on said node on at the same time. | |
unsigned | PIG_extract (LEM_micr *cr, PIG_cfg *cfg) |
Extract one or more nodes from the C/R fabric, possibly powering off said node at the same time. | |
void | PIG_enter_SAA (LEM_micr *cr) |
Write registers to place the LAT into SAA mode. | |
void | PIG_exit_SAA (LEM_micr *cr) |
Write registers to pull the LAT out of SAA mode. | |
void | PIG_safe (LEM_micr *cr) |
Powers off all the LAT components. | |
void | PIG_shed (LEM_micr *cr) |
Calls PIG_safe, then opens the LAT side of the main feed switch to reduce the load on the SC. | |
unsigned | PIG_get_pdus (LEM_micr *cr) |
Returns a two bit mask indicating the PDU(s) present in the C/R fabric. |
|
Power on ACD and FREE boards as required.
|
|
Power on ACD and FREE boards as required.
|
|
If indicated by the cfg structure, extract PDU(s), GEM, EBM to the C/R fabric.
|
|
If indicated by the cfg structure, insert PDU(s), GEM, EBM to the C/R fabric.
|
|
Power on the EPUs as required, and update the state.
|
|
Power on the EPUs as required, and update the state.
|
|
Write registers to place the LAT into SAA mode.
|
|
Write registers to pull the LAT out of SAA mode.
|
|
Extract one or more nodes from the C/R fabric, possibly powering off said node at the same time.
|
|
Returns a two bit mask indicating the PDU(s) present in the C/R fabric.
|
|
Insert one or more nodes into the C/R fabric, possibly powering on said node on at the same time.
|
|
Powers off all the LAT components.
|
|
Calls PIG_safe, then opens the LAT side of the main feed switch to reduce the load on the SC.
|
|
Power on the TEMs as required, and update the state.
|
|
Power on the TEMs as required, and update the state.
|
|
Power on the calorimeter towers as required.
|