GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LIM / V1-22-3 > lim / linux-gcc
#include <PIG/pig.h>
#include <LIM_action.h>
#include <LIM_pool.h>
Functions | |
unsigned int | LIM_pig_bias_acd (LIM_Action *action_p, PIG_acd_bias *cfg_p) |
Configure ACD bias voltages. | |
unsigned int | LIM_pig_bias_acd_off (LIM_Action *action_p, unsigned int mask) |
Turn off ACD bias voltages. | |
unsigned int | LIM_pig_bias_acd_on (LIM_Action *action_p, unsigned int mask) |
Turn on ACD bias voltages. | |
unsigned int | LIM_pig_bias_cal (LIM_Action *action_p, PIG_cal_bias *cfg_p) |
Configure CAL bias voltages. | |
unsigned int | LIM_pig_bias_cal_off (LIM_Action *action_p, unsigned int mask) |
Turn off CAL bias voltages. | |
unsigned int | LIM_pig_bias_cal_on (LIM_Action *action_p, unsigned int mask) |
Turn on CAL bias voltages. | |
unsigned int | LIM_pig_bias_tkr (LIM_Action *action_p, PIG_tkr_bias *cfg_p) |
Configure TKR bias voltages. | |
unsigned int | LIM_pig_bias_tkr_off (LIM_Action *action_p, unsigned int mask) |
Turn off TKR bias voltages. | |
unsigned int | LIM_pig_bias_tkr_on (LIM_Action *action_p, unsigned int mask) |
Turn on TKR bias voltages. | |
unsigned int | LIM_pig_extract (LIM_Action *action_p, PIG_cfg *cfg_p) |
Remove power from one or more components of the instrument. | |
unsigned int | LIM_pig_extract_evt (LIM_Action *action_p, PIG_cfg *cfg_p) |
Remove one or more components from the event fabric. | |
unsigned int | LIM_pig_insert (LIM_Action *action_p, PIG_cfg *cfg_p) |
Add power to one or more components of the instrument. | |
unsigned int | LIM_pig_insert_evt (LIM_Action *action_p, PIG_cfg *cfg_p) |
Add one or more components to the event fabric. | |
unsigned int | LIM_pig_look_at_me (LIM_Action *action_p) |
Send the Look-At-Me command. | |
unsigned int | LIM_pig_record (LIM_Pool *pool_p, unsigned int dest) |
Call the PIG_record() function. | |
unsigned int | LIM_pig_saa_enter (LIM_Action *action_p) |
Configure the instrument for SAA transit. | |
unsigned int | LIM_pig_saa_exit (LIM_Action *action_p) |
Configure the instrument for SAA transit. | |
unsigned int | LIM_pig_shed (LIM_Action *action_p) |
Shed instrument power. | |
unsigned int | LIM_pig_siu_init (LIM_Action *action_p, PIG_siu_cfg *cfg_p) |
Init the SIU. | |
unsigned int | LIM_pig_verify (LIM_Pool *pool_p) |
Verify the PIG configuration. |
** CVS $Id: LIM_pig.h,v 1.7 2011/03/29 21:20:29 apw Exp $ **
unsigned int LIM_pig_bias_acd | ( | LIM_Action * | action_p, | |
PIG_acd_bias * | cfg_p | |||
) |
Configure ACD bias voltages.
action_p | Pointer to LIM action control information. | |
cfg_p | Pointer to bias configuration structure. |
References LIM_ACTION_BIAS_ACD, and LIM_action_report().
Referenced by lim_mode_bias_acd().
unsigned int LIM_pig_bias_acd_off | ( | LIM_Action * | action_p, | |
unsigned int | mask | |||
) |
Turn off ACD bias voltages.
action_p | Pointer to LIM action control information. | |
mask | Mask of FREE boards to operate on. |
References LIM_ACTION_BIAS_ACD_OFF, and LIM_action_report().
Referenced by lim_mode_bias_acd_off().
unsigned int LIM_pig_bias_acd_on | ( | LIM_Action * | action_p, | |
unsigned int | mask | |||
) |
Turn on ACD bias voltages.
action_p | Pointer to LIM action control information. | |
mask | Mask of FREE boards to operate on. |
References LIM_ACTION_BIAS_ACD_ON, and LIM_action_report().
Referenced by lim_mode_bias_acd_on().
unsigned int LIM_pig_bias_cal | ( | LIM_Action * | action_p, | |
PIG_cal_bias * | cfg_p | |||
) |
Configure CAL bias voltages.
action_p | Pointer to LIM action control information. | |
cfg_p | Pointer to bias configuration structure. |
References LIM_ACTION_BIAS_CAL, and LIM_action_report().
Referenced by lim_mode_bias_cal().
unsigned int LIM_pig_bias_cal_off | ( | LIM_Action * | action_p, | |
unsigned int | mask | |||
) |
Turn off CAL bias voltages.
action_p | Pointer to LIM action control information. | |
mask | Mask of FREE boards to operate on. |
References LIM_ACTION_BIAS_CAL_OFF, and LIM_action_report().
Referenced by lim_mode_bias_cal_off().
unsigned int LIM_pig_bias_cal_on | ( | LIM_Action * | action_p, | |
unsigned int | mask | |||
) |
Turn on CAL bias voltages.
action_p | Pointer to LIM action control information. | |
mask | Mask of FREE boards to operate on. |
References LIM_ACTION_BIAS_CAL_ON, and LIM_action_report().
Referenced by lim_mode_bias_cal_on().
unsigned int LIM_pig_bias_tkr | ( | LIM_Action * | action_p, | |
PIG_tkr_bias * | cfg_p | |||
) |
Configure TKR bias voltages.
action_p | Pointer to LIM action control information. | |
cfg_p | Pointer to bias configuration structure. |
References LIM_ACTION_BIAS_TKR, and LIM_action_report().
Referenced by lim_mode_bias_tkr().
unsigned int LIM_pig_bias_tkr_off | ( | LIM_Action * | action_p, | |
unsigned int | mask | |||
) |
Turn off TKR bias voltages.
action_p | Pointer to LIM action control information. | |
mask | Mask of FREE boards to operate on. |
References LIM_ACTION_BIAS_TKR_OFF, and LIM_action_report().
Referenced by lim_mode_bias_tkr_off().
unsigned int LIM_pig_bias_tkr_on | ( | LIM_Action * | action_p, | |
unsigned int | mask | |||
) |
Turn on TKR bias voltages.
action_p | Pointer to LIM action control information. | |
mask | Mask of FREE boards to operate on. |
References LIM_ACTION_BIAS_TKR_ON, and LIM_action_report().
Referenced by lim_mode_bias_tkr_on().
unsigned int LIM_pig_extract | ( | LIM_Action * | action_p, | |
PIG_cfg * | cfg_p | |||
) |
Remove power from one or more components of the instrument.
action_p | Pointer to LIM action control information. | |
cfg_p | Pointer to power configuration structure. |
References LIM_ACTION_POWER_OFF, and LIM_action_report().
Referenced by lim_mode_power_off().
unsigned int LIM_pig_extract_evt | ( | LIM_Action * | action_p, | |
PIG_cfg * | cfg_p | |||
) |
Remove one or more components from the event fabric.
action_p | Pointer to LIM action control information. | |
cfg_p | Pointer to power configuration structure. |
References LIM_ACTION_EVENT_REMOVE, LIM_action_report(), and lim_pig_build_evt_cfg().
Referenced by lim_mode_power_off().
unsigned int LIM_pig_insert | ( | LIM_Action * | action_p, | |
PIG_cfg * | cfg_p | |||
) |
Add power to one or more components of the instrument.
action_p | Pointer to LIM action control information. | |
cfg_p | Pointer to power configuration structure. |
References LIM_ACTION_POWER_ON, and LIM_action_report().
Referenced by lim_mode_power_on().
unsigned int LIM_pig_insert_evt | ( | LIM_Action * | action_p, | |
PIG_cfg * | cfg_p | |||
) |
Add one or more components to the event fabric.
action_p | Pointer to LIM action control information. | |
cfg_p | Pointer to power configuration structure. |
References LIM_ACTION_EVENT_INSERT, LIM_action_report(), and lim_pig_build_evt_cfg().
Referenced by lim_mode_power_on().
unsigned int LIM_pig_look_at_me | ( | LIM_Action * | action_p | ) |
Send the Look-At-Me command.
action_p | Pointer to LIM action control information. |
Referenced by lim_mode_look_at_me().
unsigned int LIM_pig_record | ( | LIM_Pool * | pool_p, | |
unsigned int | dest | |||
) |
Call the PIG_record() function.
pool_p | Pointer to a packet pool object. | |
dest | Destination for the dumped data. |
References LIM_pool_alloc().
Referenced by lim_mode_pig_record(), and LIM_pig_verify().
unsigned int LIM_pig_saa_enter | ( | LIM_Action * | action_p | ) |
Configure the instrument for SAA transit.
action_p | Pointer to LIM action control information. |
References LIM_action_report(), and LIM_ACTION_SAA_CONFIG.
Referenced by lim_mode_config_hv(), lim_mode_power_on(), and lim_mode_saa_enter().
unsigned int LIM_pig_saa_exit | ( | LIM_Action * | action_p | ) |
Configure the instrument for SAA transit.
action_p | Pointer to LIM action control information. |
References LIM_ACTION_NON_SAA_CONFIG, and LIM_action_report().
Referenced by lim_mode_config_hv(), lim_mode_power_on(), and lim_mode_saa_exit().
unsigned int LIM_pig_shed | ( | LIM_Action * | action_p | ) |
Shed instrument power.
action_p | Pointer to LIM action control information. |
References LIM_action_report(), LIM_ACTION_SHED_BEGIN, and LIM_ACTION_SHED_END.
Referenced by lim_mode_load_shed().
unsigned int LIM_pig_siu_init | ( | LIM_Action * | action_p, | |
PIG_siu_cfg * | cfg_p | |||
) |
Init the SIU.
action_p | Pointer to LIM action control information. | |
cfg_p | Pointer to SIU configuration structure. |
References LIM_ACTION_MAIN_FEED_ON, and LIM_action_report().
Referenced by lim_mode_main_feed_on().
unsigned int LIM_pig_verify | ( | LIM_Pool * | pool_p | ) |
Verify the PIG configuration.
pool_p | Pointer to a packet pool object. |
References LIM_pig_record().
Referenced by lim_mode_pig_verify().