GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > PIG / V8-6-0
Constituent: pig_rooting     Tag: linux-gcc
#include "PIG/pig.h"
#include "ITC/ITC_pubdefs.h"
Include dependency graph for cli.h:
This graph shows which files directly or indirectly include this file:
Enumerations | |
enum | PIG_PDU_SELECT { PIG_PDU_0 = 1, PIG_PDU_1 = 2 } |
Bit masks indicating the PDU(s) to configure for C/R. | |
enum | PIG_MF_SELECT { PIG_MF_OFF = 0, PIG_MF_P = 1, PIG_MF_S = 2 } |
Bit masks indicating the MF to use. | |
enum | PIG_DAB_SELECT { PIG_DAB_NONE = 0, PIG_DAB_P = 1, PIG_DAB_S = 2 } |
Bit masks indicating the DAB cpts to configure for C/R or event handling. | |
enum | PIG_CPT_MASK { PIG_GEM = 1, PIG_EBM = 4 } |
Bit masks indicating the DAB cpts to configure for C/R or event handling. | |
Functions | |
unsigned | PIG_cmdRsp_init (PIG_MF_SELECT mf, PIG_PDU_SELECT pdu, PIG_DAB_SELECT dab) |
Complete the configuration of the cmdRsp fabric by closing the main feed and configuring the DAB. | |
unsigned | PIG_tem_on (unsigned tem, PIG_PDU_SELECT pdu) |
Power on the tem using the specified PDU. | |
unsigned | PIG_tem_off (unsigned tem) |
Power off the tem. | |
unsigned | PIG_cal_on (unsigned twr) |
Power on the cal. | |
unsigned | PIG_cal_off (unsigned twr) |
Power off the cal. | |
unsigned | PIG_tkr_on (unsigned twr) |
Power on the tkr. | |
unsigned | PIG_tkr_off (unsigned twr) |
Power off the tkr. | |
unsigned | PIG_epu_on (unsigned epu, PIG_PDU_SELECT pdu) |
Power on an EPU using the specified PDU and power convertor. | |
unsigned | PIG_epu_off (unsigned epu) |
Power off an EPU. | |
unsigned | PIG_acd_on (PIG_PDU_SELECT pdu, unsigned use_sec_ps) |
Power on the ACD, specifying the power supply and convertor. | |
unsigned | PIG_acd_off (void) |
Power off the ACD. | |
PIG_cfg * | PIG_new_cfg (void) |
Returns the size of the PIG_cfg structure. | |
void | PIG_clear_cfg (PIG_cfg *cfg) |
Restore the structure to its virgin state. | |
void | PIG_set_tem (PIG_cfg *cfg, unsigned sel_mask, unsigned pdu_mask) |
Set the sel and pdu fields of the tem substructure within the PIG_cfg structure. | |
void | PIG_set_tkr (PIG_cfg *cfg, unsigned sel_mask) |
Set the tkr field of the tem substructure within the PIG_cg structure. | |
void | PIG_set_cal (PIG_cfg *cfg, unsigned sel_mask) |
Set the cal field of the tem substructure within the PIG_cg structure. | |
void | PIG_set_epu (PIG_cfg *cfg, unsigned sel_mask, unsigned pdu_mask) |
Set the fields of the epu substructure within the PIG_cfg structure. | |
void | PIG_set_free (PIG_cfg *cfg, unsigned free_mask) |
Set the free field of the acd substructure within the PIG_cfg structure. | |
void | PIG_set_acd (PIG_cfg *cfg, PIG_PDU_SELECT pdu, unsigned sec_sup) |
Set the sel, sec_con and sec_sup fields of the ACD substructure within the PIG_cfg structure. | |
void | PIG_clear_acd (PIG_cfg *cfg) |
Clear the fields of the ACD substructure within the PIG_cfg structure. | |
void | PIG_set_all (PIG_cfg *cfg, PIG_PDU_SELECT pdu) |
Sets all the relevant bits in the the PIG_cfg structure to alter the power state of all components of the LAT, and configures all components of the LAT to be powered from the identified PDU. | |
void | PIG_cb_NULL (ITC_QueueItem *qitem, unsigned int status, void *prm0, void *prm1, void *prm2, unsigned int tx) |
Completion call-back for use with PIG_record when working from the command line. |
|
Power off the ACD.
|
|
Power on the ACD, specifying the power supply and convertor.
|
|
Power off the cal.
|
|
Power on the cal.
|
|
Completion call-back for use with PIG_record when working from the command line.
|
|
Clear the fields of the ACD substructure within the PIG_cfg structure.
|
|
Restore the structure to its virgin state.
|
|
Complete the configuration of the cmdRsp fabric by closing the main feed and configuring the DAB.
|
|
Power off an EPU.
|
|
Power on an EPU using the specified PDU and power convertor.
|
|
Returns the size of the PIG_cfg structure.
|
|
Set the sel, sec_con and sec_sup fields of the ACD substructure within the PIG_cfg structure.
|
|
Sets all the relevant bits in the the PIG_cfg structure to alter the power state of all components of the LAT, and configures all components of the LAT to be powered from the identified PDU.
|
|
Set the cal field of the tem substructure within the PIG_cg structure.
|
|
Set the fields of the epu substructure within the PIG_cfg structure.
|
|
Set the free field of the acd substructure within the PIG_cfg structure.
|
|
Set the sel and pdu fields of the tem substructure within the PIG_cfg structure.
|
|
Set the tkr field of the tem substructure within the PIG_cg structure.
|
|
Power off the tem.
|
|
Power on the tem using the specified PDU.
|
|
Power off the tkr.
|
|
Power on the tkr.
|