public class Aspic extends Asic
| 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
|
static int |
VERSION_0
Public constants
|
static int |
VERSION_1
Public constants
|
static int |
VERSION_UNSUPP
Public constants
|
ADDR_POSN, MAX_ASICS, MAX_STRIPS, NUM_SIDES, SIDE_BOTTOM, SIDE_MASK, SIDE_POSN, SIDE_TOP, STRIP_POSN, WRITE_POSN| Modifier and Type | Method and Description |
|---|---|
int |
getNumStrips()
Gets the number of strips.
|
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.
|
makeCommandpublic static final int VERSION_UNSUPP
public static final int VERSION_0
public static final int VERSION_1
public 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(BaseSet bss)
bss - The associated base set objectpublic int getVersion()
public int getNumStrips()
throws REBException
REBException - if the firmware version is unknownpublic 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 © 2017 LSST. All rights reserved.