org.lsst.ccs.drivers.rcm
Class StatusSet

java.lang.Object
  extended by org.lsst.ccs.drivers.rcm.RegClient
      extended by org.lsst.ccs.drivers.rcm.BaseSet
          extended by org.lsst.ccs.drivers.rcm.StatusSet

public class StatusSet
extends BaseSet

RCM status block access routines

Author:
Owen Saxton

Field Summary
static int NUM_STAT_REG
          Public constants
static int OFF_STAT_BUFFSTAT
          Public constants
static int OFF_STAT_CERR_CNT
          Public constants
static int OFF_STAT_LDWN_CNT
          Public constants
static int OFF_STAT_LERR_CNT
          Public constants
static int OFF_STAT_LINKSTAT
          Public constants
static int OFF_STAT_RX_CNTS
          Public constants
static int OFF_STAT_TX_CNTS
          Public constants
static int OFF_STAT_VERSION
          Public constants
static int REG_STATUS
          Public constants
 
Fields inherited from class org.lsst.ccs.drivers.rcm.BaseSet
CLOCK_PERIOD_0, CLOCK_PERIOD_1, REG_ID, REG_SCHEMA, REG_STATE, REG_TIME_BASE, REG_TRIG_TIME, REG_TRIGGER, REG_VERSION, RSET_POWER_ADCS, RSET_SEQUENCER, RSET_STATUS, RSET_TEMP_ADCS, RSET_TIME_BASE, VERSION_0, VERSION_1, VERSION_2, VERSION_UNKNOWN, VERSION_UNSET
 
Constructor Summary
StatusSet()
          Constructors.
StatusSet(RegClient reg)
           
 
Method Summary
 void disable()
          Disables the status block.
 void enable()
          Enables the status block.
 long getTriggerTime()
          Gets the status block trigger time.
 Status readStatus()
          Reads the status register block.
 
Methods inherited from class org.lsst.ccs.drivers.rcm.BaseSet
checkNotVersion, checkVersion, disable, enable, getTime, getTimeRaw, getTriggerTime, getTriggerTimeRaw, getVersion, setTime, setTime, setTimeRaw, waitDone
 
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

REG_STATUS

public static final int REG_STATUS
Public constants

See Also:
Constant Field Values

OFF_STAT_VERSION

public static final int OFF_STAT_VERSION
Public constants

See Also:
Constant Field Values

OFF_STAT_LINKSTAT

public static final int OFF_STAT_LINKSTAT
Public constants

See Also:
Constant Field Values

OFF_STAT_CERR_CNT

public static final int OFF_STAT_CERR_CNT
Public constants

See Also:
Constant Field Values

OFF_STAT_LDWN_CNT

public static final int OFF_STAT_LDWN_CNT
Public constants

See Also:
Constant Field Values

OFF_STAT_LERR_CNT

public static final int OFF_STAT_LERR_CNT
Public constants

See Also:
Constant Field Values

OFF_STAT_BUFFSTAT

public static final int OFF_STAT_BUFFSTAT
Public constants

See Also:
Constant Field Values

OFF_STAT_RX_CNTS

public static final int OFF_STAT_RX_CNTS
Public constants

See Also:
Constant Field Values

OFF_STAT_TX_CNTS

public static final int OFF_STAT_TX_CNTS
Public constants

See Also:
Constant Field Values

NUM_STAT_REG

public static final int NUM_STAT_REG
Public constants

See Also:
Constant Field Values
Constructor Detail

StatusSet

public StatusSet()
Constructors.


StatusSet

public StatusSet(RegClient reg)
Method Detail

enable

public void enable()
            throws RcmException
Enables the status block.

Overrides:
enable in class BaseSet
Throws:
RcmException

disable

public void disable()
             throws RcmException
Disables the status block.

Overrides:
disable in class BaseSet
Throws:
RcmException

getTriggerTime

public long getTriggerTime()
                    throws RcmException
Gets the status block trigger time.

Throws:
RcmException

readStatus

public Status readStatus()
                  throws RcmException
Reads the status register block.

Throws:
RcmException


Copyright © 2013 LSST. All Rights Reserved.