public class Aspic extends Asic
RegClient.Impl| Modifier and Type | Field and Description |
|---|---|
static int |
ADDR_CLAMP
Public constants
|
static int |
ADDR_GAIN_RC
Public constants
|
static int |
ADDR_MODES
Public constants
|
static int |
GAIN_INDEX
Public constants
|
static int |
GAIN_POSN
Public constants
|
static int |
MODE_AF1
Public constants
|
static int |
MODE_TM
Public constants
|
static int |
RC_INDEX
Public constants
|
static int |
RC_MASK
Public constants
|
static int |
REG_ASPIC
Public constants
|
static int |
REG_ASPIC_LOAD
Public constants
|
static int |
REG_ASPIC_NAP
Public constants
|
static int |
REG_ASPIC_READ
Public constants
|
static int |
REG_ASPIC_READ_0
Public constants
|
static int |
REG_ASPIC_RESET
Public constants
|
static int |
VALUE_MASK
Public constants
|
ADDR_POSN, NUM_ASICS, NUM_SIDES, NUM_STRIPS, SIDE_BOTTOM, SIDE_MASK, SIDE_POSN, SIDE_TOP, STRIP_MASK, STRIP_POSN, WRITE_POSNCLOCK_PERIOD_0, CLOCK_PERIOD_1, OPTN_ASPIC, OPTN_BACK_BIAS, OPTN_BOARD_DACS, OPTN_BOARD_POWER, OPTN_BOARD_TEMP, OPTN_CABAC, OPTN_CCD_TEMP, OPTN_DCDC_SYNC, OPTN_DREB_SN, OPTN_FAST_ADCS, OPTN_REB_SN, OPTN_SEQUENCER, OPTN_SLOW_ADCS, OPTN_STATUS, REG_BACK_BIAS, REG_DCDC_SYNC, REG_ID, REG_SCHEMA, REG_SN_DREB_START, REG_SN_DREB_VALUE, REG_SN_REB_START, REG_SN_REB_VALUE, REG_STATE, REG_TIME_BASE, REG_TRIG_TIME, REG_TRIGGER, REG_VERSION, RSET_FAST_ADCS, RSET_POWER_ADCS, RSET_SEQUENCER, RSET_STATUS, RSET_TEMP_ADCS, RSET_TIME_BASE, SN_READ_ERROR, SN_READ_OKAY, SN_READ_TIMEOUT, SN_VALUE_MASK, TYPE_CORNER, TYPE_SCIENCE, TYPE_UNKNOWN, VERSION_0, VERSION_1, VERSION_2, VERSION_3, VERSION_4, VERSION_5, VERSION_6, VERSION_7, VERSION_8, VERSION_UNKNOWN, VERSION_UNSET, VERSION_UNSUPPHDW_TYPE_DAQ0, HDW_TYPE_DAQ1, HDW_TYPE_PCI| Constructor and Description |
|---|
Aspic()
Constructor.
|
Aspic(RegClient reg)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getVersion()
Gets the ASPIC version.
|
boolean |
isNapModeOn()
Gets nap mode.
|
int[] |
readClamp(int strips,
int side)
Reads ASPIC clamp.
|
int[][] |
readGainRc(int strips,
int side)
Reads ASPIC gain and RC.
|
int[] |
readModes(int strips,
int side)
Reads ASPIC special modes.
|
void |
reset(int strip)
Resets ASPIC registers.
|
void |
setNapMode(boolean on)
Sets nap mode.
|
void |
writeClamp(int strips,
int sides,
int clamp)
Writes ASPIC clamp.
|
void |
writeGainRc(int strips,
int sides,
int gain,
int rc)
Writes ASPIC gain and RC.
|
void |
writeModes(int strips,
int sides,
int modes)
Writes ASPIC special modes.
|
makeCommandcheckNotVersion, checkVersion, convertRawTime, disable, disable, enable, enable, getDrebSerial, getFwVersion, getRebSerial, getTime, getTimeRaw, getTriggerTime, getTriggerTimeRaw, getVersion, getVersion, isBackBiasOn, isDcdcSync, isVersion, setBackBias, setDcdcSync, setTime, setTime, setTimeRaw, setVersions, throwIncompatException, waitDonepublic static final int REG_ASPIC
public static final int REG_ASPIC_LOAD
public static final int REG_ASPIC_RESET
public static final int REG_ASPIC_READ_0
public static final int REG_ASPIC_READ
public static final int REG_ASPIC_NAP
public static final int VALUE_MASK
public static final int RC_MASK
public static final int GAIN_POSN
public static final int GAIN_INDEX
public static final int RC_INDEX
public static final int MODE_TM
public static final int MODE_AF1
public static final int ADDR_GAIN_RC
public static final int ADDR_CLAMP
public static final int ADDR_MODES
public Aspic()
public Aspic(RegClient reg)
reg - The associated register client objectpublic int getVersion()
public void writeGainRc(int strips,
int sides,
int gain,
int rc)
throws REBException
strips - The mask of strips to writesides - The mask of sides: 1 = top; 2 = bottomgain - The gain valuerc - The RC valueREBExceptionpublic void writeClamp(int strips,
int sides,
int clamp)
throws REBException
strips - The mask of strips to writesides - The mask of sides: 1 = top; 2 = bottomclamp - The clamp valueREBExceptionpublic void writeModes(int strips,
int sides,
int modes)
throws REBException
strips - The mask of strips to writesides - The mask of sides: 1 = top; 2 = bottommodes - The modes valueREBExceptionpublic int[][] readGainRc(int strips,
int side)
throws REBException
strips - The mask of strips to readside - The side number: 0 = top; 1 = bottomREBExceptionpublic int[] readClamp(int strips,
int side)
throws REBException
strips - The mask of strips to readside - The side number: 0 = top; 1 = bottomREBExceptionpublic int[] readModes(int strips,
int side)
throws REBException
strips - The mask of strips to readside - The side number: 0 = top; 1 = bottomREBExceptionpublic void reset(int strip)
throws REBException
strip - The number of the strip to resetREBExceptionpublic void setNapMode(boolean on)
throws REBException
on - Sets nap mode on if true, off if falseREBExceptionpublic boolean isNapModeOn()
throws REBException
REBExceptionCopyright © 2016 LSST. All rights reserved.