| Modifier and Type | Field and Description |
|---|---|
static int |
CLOCK_PERIOD_0
Public constants.
|
static int |
CLOCK_PERIOD_1
Public constants.
|
static int |
REG_DCDC_SYNC
Public constants.
|
static int |
REG_ID
Public constants.
|
static int |
REG_SCHEMA
Public constants.
|
static int |
REG_SN_DREB_START
Public constants.
|
static int |
REG_SN_DREB_VALUE
Public constants.
|
static int |
REG_SN_REB_START
Public constants.
|
static int |
REG_SN_REB_VALUE
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 long |
SN_READ_ERROR |
static long |
SN_READ_OKAY |
static long |
SN_READ_TIMEOUT |
static long |
SN_VALUE_MASK |
static int |
VERSION_0
Public constants.
|
static int |
VERSION_1
Public constants.
|
static int |
VERSION_2
Public constants.
|
static int |
VERSION_3
Public constants.
|
static int |
VERSION_CURR
Public constants.
|
static int |
VERSION_UNKNOWN
Public constants.
|
static int |
VERSION_UNSET
Public constants.
|
| Constructor and Description |
|---|
BaseSet()
Constructors.
|
BaseSet(RegClient reg) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkNotVersion(int version)
Checks for not a particular firmware version.
|
void |
checkVersion(int version)
Checks for a particular firmware version.
|
void |
checkVersion(int lowvers,
int highvers)
Checks for a particular firmware version range.
|
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 |
getDrebSN()
Gets the DREB serial number.
|
long |
getRebSN()
Gets the REB serial number.
|
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.
|
boolean |
isDcdcSync()
Gets the DC/DC synchronization.
|
void |
setDcdcSync(boolean enable)
Sets the DC/DC synchronization.
|
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.
|
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 REG_SN_REB_START
public static final int REG_SN_REB_VALUE
public static final int REG_SN_DREB_START
public static final int REG_SN_DREB_VALUE
public static final int REG_DCDC_SYNC
public static final int VERSION_CURR
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 VERSION_3
public static final int CLOCK_PERIOD_0
public static final int CLOCK_PERIOD_1
public static final long SN_READ_OKAY
public static final long SN_READ_ERROR
public static final long SN_READ_TIMEOUT
public static final long SN_VALUE_MASK
public BaseSet()
public BaseSet(RegClient reg)
public int getVersion()
throws RcmException
RcmException - if the firmware version is not recognizedpublic void checkVersion(int version)
throws RcmException
version - The version to check againstRcmException - if the firmware version is not recognized
or doesn't match the specified versionpublic void checkVersion(int lowvers,
int highvers)
throws RcmException
lowvers - The lowest valid versionhighvers - The highest valid version. Can be VERSION_CURR to
cause this check to be skipped.RcmException - if the firmware version is not recognized
or doesn't match the specified versionspublic void checkNotVersion(int version)
throws RcmException
version - The version to check againstRcmException - if the firmware version is not recognized
or matches the specified versionpublic void enable()
throws RcmException
RcmExceptionpublic void disable()
throws RcmException
RcmExceptionpublic long getTimeRaw()
throws RcmException
RcmExceptionpublic long getTime()
throws RcmException
RcmExceptionpublic void setTimeRaw(long time)
throws RcmException
time - The time-base value as clock ticksRcmExceptionpublic void setTime(long time)
throws RcmException
time - The time-base value as millisecond Unix timeRcmExceptionpublic void setTime()
throws RcmException
RcmExceptionpublic void enable(int regSet)
throws RcmException
regSet - The register set identifierRcmExceptionpublic void disable(int regSet)
throws RcmException
regSet - The register set identifierRcmExceptionpublic void waitDone(int regSet)
throws RcmException
regSet - The register set identifierRcmExceptionpublic long getTriggerTimeRaw(int regSet)
throws RcmException
regSet - The register set identifierRcmExceptionpublic long getTriggerTime(int regSet)
throws RcmException
regSet - The register set identifierRcmExceptionpublic long getRebSN()
throws RcmException
RcmExceptionpublic long getDrebSN()
throws RcmException
RcmExceptionpublic void setDcdcSync(boolean enable)
throws RcmException
enable - If true, enable synchronization; otherwise disable itRcmExceptionpublic boolean isDcdcSync()
throws RcmException
RcmExceptionCopyright © 2014 LSST. All Rights Reserved.