edu.cmu.emulator.controlComm
Class StoreSignalMessage
java.lang.Object
edu.cmu.emulator.controlComm.CMessage
edu.cmu.emulator.controlComm.StoreSignalMessage
public class StoreSignalMessage
- extends CMessage
- Version:
- 1.0
- Author:
- Eric Anderson
Fields inherited from class edu.cmu.emulator.controlComm.CMessage |
D_AUX_FPGA, I_BODY, I_DEST, I_SOURCE, I_TYPE, MAX_LENGTH, msg, S_EMU_CONTROLLER, T_DCC_LOCAL, T_MISC_COMMAND, T_READ_REG, T_REG_VALUE, T_SET_DELAY, T_SET_PHASE_SHIFT, T_SET_SCALE, T_SET_TIMED_SCALE, T_STORE_SIGNAL, T_TEST, T_WRITE_REG |
I_SAMP_WIDTH
public static final int I_SAMP_WIDTH
- See Also:
- Constant Field Values
I_SADDR
public static final int I_SADDR
- See Also:
- Constant Field Values
I_SAMPLES
public static final int I_SAMPLES
- See Also:
- Constant Field Values
I_DATA
public static final int I_DATA
- See Also:
- Constant Field Values
sampleWidth
protected int sampleWidth
startAddr
protected int startAddr
samples
protected List<Integer> samples
StoreSignalMessage
public StoreSignalMessage(int sampleWidth,
int startAddr)
toBytes
public List<Byte> toBytes()
getBytes
public byte[] getBytes()
- Overrides:
getBytes
in class CMessage
addSample
public void addSample(int s)
addSample
public void addSample(byte high,
byte low)
toString
public String toString()
- Overrides:
toString
in class CMessage
Copyright © 2013. All Rights Reserved.