GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > PIG / V9-0-0

Constituent: pig_flying     Tag: sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

bias.c File Reference

Funtions that modify the bias voltages. More...

#include "PIG/PIG_msgs.h"
#include "PIG/pig.h"
#include "LEM/defs.h"
#include "LEM/encode.h"
#include "LEM/list.h"
#include "LEM/list_macros.h"

Include dependency graph for bias.c:


Functions

static unsigned bias_twr (LEM_micr *cmdRsp, PIG_twr_bias *bias, unsigned regId)
 Load one of the TIC power bias DAC registers.
unsigned PIG_bias_ACD (LEM_micr *cmdRsp, PIG_acd_bias *bias)
unsigned PIG_bias_CAL (LEM_micr *cmdRsp, PIG_cal_bias *bias)
 Load the CAL bias DAC regsiters.
unsigned PIG_bias_TKR (LEM_micr *cmdRsp, PIG_tkr_bias *bias)
 Load the TKR bias DAC regsiters.

Detailed Description

Funtions that modify the bias voltages.

Author:
James Swain - jswain@slac.stanford.edu

Function Documentation

unsigned bias_twr LEM_micr *  cmdRsp,
PIG_twr_bias bias,
unsigned  regId
[inline, static]
 

Load one of the TIC power bias DAC registers.

Parameters:
cmdRsp Pointer to a multi-item command response list
bias Pointer to structure containing the bias voltage values
regId TIC_TKR_BIAS_DAC or TIC_CAL_BIAS_DAC
Returns:
LEM error if there is an error with the command list, or PIG_INMUD if all goes well

unsigned PIG_bias_ACD LEM_micr *  cmdRsp,
PIG_acd_bias bias
 

Parameters:
cmdRsp Pointer to a multi-item command response list
bias Pointer to structure containing the bias voltage values
Returns:
LEM error if there is an error with the command list, or PIG_INMUD if all goes well

unsigned PIG_bias_CAL LEM_micr *  cmdRsp,
PIG_cal_bias bias
 

Load the CAL bias DAC regsiters.

Parameters:
cmdRsp Pointer to a multi-item command response list
bias Pointer to structure containing the bias voltage values
Returns:
LEM error if there is an error with the command list, or PIG_INMUD if all goes well

unsigned PIG_bias_TKR LEM_micr *  cmdRsp,
PIG_tkr_bias bias
 

Load the TKR bias DAC regsiters.

Parameters:
cmdRsp Pointer to a multi-item command response list
bias Pointer to structure containing the bias voltage values
Returns:
LEM error if there is an error with the command list, or PIG_INMUD if all goes well


Generated on Thu Oct 26 13:56:17 2006 by  doxygen 1.4.4