GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > PIG / V8-7-0
Constituent: pig_flying     Tag: sun-gcc
#include "PIG/structs.h"
#include "LEM/list_structs.h"
#include "ITC/ITC_pubdefs.h"
Include dependency graph for pig.h:
This graph shows which files directly or indirectly include this file:
Functions | |
unsigned | PIG_siu_init (LEM_micr *cr, PIG_siu_cfg cfg) |
Configure the SIU in response to the MAIN_FEED_ON notification. | |
unsigned | PIG_epu_init (void) |
Complete the configuration of an EPU LCB. | |
unsigned | PIG_cr_init (LEM_micr *cr, PIG_siu_cfg cfg) |
Initialise the C/R fabric by sending the CRU a LAM and then inserting the GEM, the EBM and any powered PDUs. | |
unsigned | PIG_select_services (LEM_micr *cr, PIG_siu_cfg cfg) |
Sets bits in the GEM/CRU/EBM to select the P/R side of various SC provided services. | |
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. | |
unsigned | PIG_insert_evt (LEM_micr *cr, PIG_evt_cfg *cfg) |
Insert one or more nodes into the event fabric. | |
unsigned | PIG_extract_evt (LEM_micr *cr, PIG_evt_cfg *cfg) |
Extract one or more nodes from the event fabric. | |
unsigned | PIG_verify_evt (LEM_micr *cr) |
This function is no longer supported, and returns an error. | |
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_shed (LEM_micr *cr) |
Calls PIG_safe, then opens the LAT side of the main feed switch to reduce the load on the SC. | |
void | PIG_safe (LEM_micr *cr) |
Powers off all the LAT components. | |
unsigned | PIG_get_pdus (LEM_micr *cr) |
Returns a two bit mask indicating the PDU(s) present in the C/R fabric. | |
void | PIG_set_on_delay (unsigned delay) |
Set the delay after power-on. | |
void | PIG_set_off_delay (unsigned delay) |
Set the delay after power-off of a component. | |
unsigned | PIG_order_EPU (unsigned order[N_EPU]) |
Change the power-on order of the EPUs from the default to order. | |
unsigned | PIG_order_TEM (unsigned order[N_TEM]) |
Change the power-on order of the TEMs from the default to order. | |
unsigned | PIG_order_FREE (unsigned order[N_FREE]) |
Change the power-on order of the FREE boards from the default to order. | |
unsigned | PIG_bias_ACD (LEM_micr *cr, PIG_acd_bias *bias) |
unsigned | PIG_bias_CAL (LEM_micr *cr, PIG_cal_bias *bias) |
Load the CAL bias DAC regsiters. | |
unsigned | PIG_bias_TKR (LEM_micr *cr, PIG_tkr_bias *bias) |
Load the TKR bias DAC regsiters. | |
size_t | PIG_sizeofRecord (void) |
Calculate the space required to send a record of the registers controlled by PIG to the SSR. | |
unsigned | PIG_record (LEM_micr *cr, void *buf, ITC_cb_Completion *rtn, void *prm0, void *prm1, void *prm2) |
Take a snapshot of the registers controlled by PIG and send the resulting record to the SSR. |
|
|
|
Load the CAL bias DAC regsiters.
|
|
Load the TKR bias DAC regsiters.
|
|
Initialise the C/R fabric by sending the CRU a LAM and then inserting the GEM, the EBM and any powered PDUs.
|
|
Write registers to place the LAT into SAA mode.
|
|
Complete the configuration of an EPU LCB.
|
|
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.
|
|
Extract one or more nodes from the event fabric.
|
|
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.
|
|
Insert one or more nodes into the event fabric.
|
|
Change the power-on order of the EPUs from the default to order.
|
|
Change the power-on order of the FREE boards from the default to order.
|
|
Change the power-on order of the TEMs from the default to order.
|
|
Take a snapshot of the registers controlled by PIG and send the resulting record to the SSR.
|
|
Powers off all the LAT components.
|
|
Sets bits in the GEM/CRU/EBM to select the P/R side of various SC provided services.
|
|
Set the delay after power-off of a component.
|
|
Set the delay after power-on.
|
|
Calls PIG_safe, then opens the LAT side of the main feed switch to reduce the load on the SC.
|
|
Configure the SIU in response to the MAIN_FEED_ON notification.
|
|
Calculate the space required to send a record of the registers controlled by PIG to the SSR.
|
|
This function is no longer supported, and returns an error.
|