GLAST/LAT >
DAQ and FSW >
FSW >
Doxygen Index >
PIG / V8-8-2
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:
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 Wed Mar 15 23:39:43 2006 by
1.4.4