|
|||||||||
| 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
org.lsst.ccs.drivers.rcm.Sequencer
public class Sequencer
RCM sequencer access routines
| Field Summary | |
|---|---|
protected int[][] |
lines
Fields |
protected int[] |
prog
|
static int |
REG_SEQ_BEB
Public constants |
static int |
REG_SEQ_LINES
Public constants |
static int |
REG_SEQ_NSLICE
Public constants |
static int |
REG_SEQ_PROGRAM
Public constants |
static int |
REG_SEQ_SOURCE
Public constants |
static int |
REG_SEQ_SSIZE
Public constants |
static int |
REG_SEQ_STACK
Public constants |
static int |
REG_SEQ_STEP
Public constants |
static int |
REG_SEQ_STEP_0
Public constants |
static int |
REG_SEQ_STOP
Public constants |
static int |
REG_SEQ_STOP_0
Public constants |
static int |
REG_SEQ_TIMES
Public constants |
static int |
SEQ_MAX_FUNC
Public constants |
static int |
SEQ_MAX_FUNC_0
Public constants |
static int |
SEQ_MAX_PROGRAM
Public constants |
static int |
SEQ_MAX_SLICE
Public constants |
static int |
SEQ_MAX_STACK
Public constants |
static int |
SEQ_OPC_END_PROG
Public constants |
static int |
SEQ_OPC_END_SUBR
Public constants |
static int |
SEQ_OPC_EXECUTE
Public constants |
static int |
SEQ_OPC_JUMP
Public constants |
static int |
SEQ_PRG_M_EXCCNT
Public constants |
static int |
SEQ_PRG_M_FUNC
Public constants |
static int |
SEQ_PRG_M_SUBADD
Public constants |
static int |
SEQ_PRG_M_SUBCNT
Public constants |
static int |
SEQ_PRG_V_FUNC
Public constants |
static int |
SEQ_PRG_V_LOOP
Public constants |
static int |
SEQ_PRG_V_OPCODE
Public constants |
static int |
SEQ_PRG_V_SUBADD
Public constants |
static int |
SEQ_SRC_ADC
Public constants |
static int |
SEQ_SRC_BEB_ADC
Public constants |
static int |
SEQ_SRC_BEB_PTN
Public constants |
static int |
SEQ_SRC_FPGA_PTN
Public constants |
static int |
SEQ_SRC_PATTERN
Public constants |
static int |
SEQ_STK_M_COUNT
Public constants |
static int |
SEQ_STK_M_FUNC
Public constants |
static int |
SEQ_STK_V_FUNC
Public constants |
static int |
SEQ_STK_V_LOOP
Public constants |
protected int[] |
stack
|
protected int |
stackSize
|
protected int[][] |
times
|
| 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 | |
|---|---|
Sequencer()
|
|
Sequencer(RegClient reg)
Constructors. |
|
| Method Summary | |
|---|---|
void |
disable()
Disables the sequencer. |
void |
enable()
Enables the sequencer. |
long |
getTriggerTime()
Gets the sequencer trigger time. |
void |
sendStep()
Sends the step command |
void |
sendStop()
Sends the stop command |
void |
writeBebSelect(int value)
Writes the BEB selector register |
void |
writeDataSource(int value)
Writes the data source register |
void |
writeLines(int func,
int[] values)
Writes a set of output lines values |
void |
writeLines(int func,
int[] values,
int offset,
int count)
Writes a set of output lines values |
void |
writeLines(int func,
int slice,
int value)
Writes an output lines value. |
void |
writeProgEnd(int addr)
Writes an end program word |
void |
writeProgEndSubr(int addr)
Writes an end subroutine word |
void |
writeProgExec(int addr,
int func,
int count)
Writes an execute program word |
void |
writeProgJump(int addr,
int subaddr,
int count)
Writes a jump program word |
void |
writeProgram(int addr,
int value)
Writes a program word |
void |
writeProgram(int addr,
int[] values)
Writes a set of program words |
void |
writeProgram(int addr,
int[] values,
int offset,
int count)
Writes a set of program words |
void |
writeSliceCount(int value)
Writes the slice count |
void |
writeStack(int[] values)
Writes a complete set of stack values, setting the stack size |
void |
writeStack(int[] values,
int offset,
int count)
Writes a complete set of stack values, setting the stack size |
void |
writeStack(int addr,
int value)
Writes a stack value |
void |
writeStack(int addr,
int[] values)
Writes a set of stack values |
void |
writeStack(int addr,
int[] values,
int offset,
int count)
Writes a set of stack values |
void |
writeStackSize(int value)
Writes the stack size |
void |
writeTimes(int func,
int[] values)
Writes a set of time values |
void |
writeTimes(int func,
int[] values,
int offset,
int count)
Writes a set of time values |
void |
writeTimes(int func,
int slice,
int value)
Writes a time value |
| 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 |
|---|
public static final int REG_SEQ_LINES
public static final int REG_SEQ_TIMES
public static final int REG_SEQ_STACK
public static final int REG_SEQ_PROGRAM
public static final int REG_SEQ_STEP
public static final int REG_SEQ_STOP
public static final int REG_SEQ_SSIZE
public static final int REG_SEQ_NSLICE
public static final int REG_SEQ_SOURCE
public static final int REG_SEQ_BEB
public static final int REG_SEQ_STEP_0
public static final int REG_SEQ_STOP_0
public static final int SEQ_MAX_FUNC_0
public static final int SEQ_MAX_FUNC
public static final int SEQ_MAX_SLICE
public static final int SEQ_MAX_PROGRAM
public static final int SEQ_MAX_STACK
public static final int SEQ_SRC_FPGA_PTN
public static final int SEQ_SRC_BEB_PTN
public static final int SEQ_SRC_BEB_ADC
public static final int SEQ_SRC_ADC
public static final int SEQ_SRC_PATTERN
public static final int SEQ_OPC_EXECUTE
public static final int SEQ_OPC_JUMP
public static final int SEQ_OPC_END_SUBR
public static final int SEQ_OPC_END_PROG
public static final int SEQ_PRG_V_OPCODE
public static final int SEQ_PRG_V_FUNC
public static final int SEQ_PRG_M_FUNC
public static final int SEQ_PRG_V_LOOP
public static final int SEQ_PRG_M_EXCCNT
public static final int SEQ_PRG_V_SUBADD
public static final int SEQ_PRG_M_SUBADD
public static final int SEQ_PRG_M_SUBCNT
public static final int SEQ_STK_V_FUNC
public static final int SEQ_STK_M_FUNC
public static final int SEQ_STK_V_LOOP
public static final int SEQ_STK_M_COUNT
protected int[][] lines
protected int[][] times
protected int[] prog
protected int[] stack
protected int stackSize
| Constructor Detail |
|---|
public Sequencer(RegClient reg)
public Sequencer()
| Method Detail |
|---|
public void enable()
throws RcmException
enable in class BaseSetRcmException
public void disable()
throws RcmException
disable in class BaseSetRcmException
public long getTriggerTime()
throws RcmException
RcmException
public void writeLines(int func,
int slice,
int value)
throws RcmException
RcmException
public void writeLines(int func,
int[] values)
throws RcmException
RcmException
public void writeLines(int func,
int[] values,
int offset,
int count)
throws RcmException
RcmException
public void writeTimes(int func,
int slice,
int value)
throws RcmException
RcmException
public void writeTimes(int func,
int[] values)
throws RcmException
RcmException
public void writeTimes(int func,
int[] values,
int offset,
int count)
throws RcmException
RcmException
public void writeStack(int addr,
int value)
throws RcmException
RcmException
public void writeStack(int addr,
int[] values)
throws RcmException
RcmException
public void writeStack(int addr,
int[] values,
int offset,
int count)
throws RcmException
RcmException
public void writeStack(int[] values)
throws RcmException
RcmException
public void writeStack(int[] values,
int offset,
int count)
throws RcmException
RcmException
public void writeStackSize(int value)
throws RcmException
RcmException
public void writeProgram(int addr,
int value)
throws RcmException
RcmException
public void writeProgram(int addr,
int[] values)
throws RcmException
RcmException
public void writeProgram(int addr,
int[] values,
int offset,
int count)
throws RcmException
RcmException
public void writeProgExec(int addr,
int func,
int count)
throws RcmException
RcmException
public void writeProgJump(int addr,
int subaddr,
int count)
throws RcmException
RcmException
public void writeProgEndSubr(int addr)
throws RcmException
RcmException
public void writeProgEnd(int addr)
throws RcmException
RcmException
public void writeSliceCount(int value)
throws RcmException
RcmException
public void writeDataSource(int value)
throws RcmException
RcmException
public void writeBebSelect(int value)
throws RcmException
RcmException
public void sendStep()
throws RcmException
RcmException
public void sendStop()
throws RcmException
RcmException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||