|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.lsst.ccs.drivers.rcm.RegClient
org.lsst.ccs.drivers.rcm.BaseSet
public class BaseSet
Base register set access routines.
| Field Summary | |
|---|---|
static int |
CLOCK_PERIOD_0
Public constants. |
static int |
CLOCK_PERIOD_1
Public constants. |
static int |
REG_ID
Public constants. |
static int |
REG_SCHEMA
Public constants. |
static int |
REG_STATE
Public constants. |
static int |
REG_TIME_BASE
Public constants. |
static int |
REG_TRIG_TIME
Public constants. |
static int |
REG_TRIGGER
Public constants. |
static int |
REG_VERSION
Public constants. |
static int |
RSET_POWER_ADCS
Public constants. |
static int |
RSET_SEQUENCER
Public constants. |
static int |
RSET_STATUS
Public constants. |
static int |
RSET_TEMP_ADCS
Public constants. |
static int |
RSET_TIME_BASE
Public constants. |
static int |
VERSION_0
Public constants. |
static int |
VERSION_1
Public constants. |
static int |
VERSION_2
Public constants. |
static int |
VERSION_UNKNOWN
Public constants. |
static int |
VERSION_UNSET
Public constants. |
| Constructor Summary | |
|---|---|
BaseSet()
Constructors. |
|
BaseSet(RegClient reg)
|
|
| Method Summary | |
|---|---|
void |
checkNotVersion(int version)
Checks for not a particular firmware version |
void |
checkVersion(int version)
Checks for a particular firmware version |
void |
disable()
Disables the time-base. |
void |
disable(int regSet)
Disables a register set. |
void |
enable()
Enables the time-base. |
void |
enable(int regSet)
Enables a register set. |
long |
getTime()
Gets the time-base value as millisecond Unix time. |
long |
getTimeRaw()
Gets the raw time-base value. |
long |
getTriggerTime(int regSet)
Gets the trigger time for a register set as Unix millisecond time. |
long |
getTriggerTimeRaw(int regSet)
Gets the raw trigger time for a register set. |
int |
getVersion()
Gets the firmware version. |
void |
setTime()
Sets the time-base value to the current system time. |
void |
setTime(long time)
Sets the time-base value as millisecond Unix time. |
void |
setTimeRaw(long time)
Sets the raw time-base value. |
void |
waitDone(int regSet)
Waits for a register set to become disabled, i.e. |
| Methods inherited from class org.lsst.ccs.drivers.rcm.RegClient |
|---|
checkOpen, close, finalize, open, read, read, read, readLong, update, write, write, write, writeLong |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int RSET_STATUS
public static final int RSET_TIME_BASE
public static final int RSET_SEQUENCER
public static final int RSET_POWER_ADCS
public static final int RSET_TEMP_ADCS
public static final int REG_SCHEMA
public static final int REG_VERSION
public static final int REG_ID
public static final int REG_TIME_BASE
public static final int REG_STATE
public static final int REG_TRIGGER
public static final int REG_TRIG_TIME
public static final int VERSION_UNSET
public static final int VERSION_UNKNOWN
public static final int VERSION_0
public static final int VERSION_1
public static final int VERSION_2
public static final int CLOCK_PERIOD_0
public static final int CLOCK_PERIOD_1
| Constructor Detail |
|---|
public BaseSet()
public BaseSet(RegClient reg)
| Method Detail |
|---|
public int getVersion()
throws RcmException
RcmException
public void checkVersion(int version)
throws RcmException
RcmException
public void checkNotVersion(int version)
throws RcmException
RcmException
public void enable()
throws RcmException
RcmException
public void disable()
throws RcmException
RcmException
public long getTimeRaw()
throws RcmException
RcmException
public long getTime()
throws RcmException
RcmException
public void setTimeRaw(long time)
throws RcmException
RcmException
public void setTime(long time)
throws RcmException
RcmException
public void setTime()
throws RcmException
RcmException
public void enable(int regSet)
throws RcmException
RcmException
public void disable(int regSet)
throws RcmException
RcmException
public void waitDone(int regSet)
throws RcmException
RcmException
public long getTriggerTimeRaw(int regSet)
throws RcmException
RcmException
public long getTriggerTime(int regSet)
throws RcmException
RcmException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||