|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectSkolUtil.opCodes
public class opCodes
all 0xb? values will be valid start bytes in message.java public static Boolean isValidMessageStart(byte[] rawMessage, int lenSoFar) throws Exception if adding more valid msgStartBytes here, which can be sent to GUI, change so in isValidMessageStart....
| Field Summary | |
|---|---|
static byte |
dataAquCh0
get Triggered Data Frame from both Channels |
static byte |
dataAquCh1
has no function when sent to device is only used to declare that the message which is sent from the device to the Controller that this is from Channel1 |
static byte |
getTimeDividerCh0
returns a index which describes the TimeDivider |
static byte |
getTimeDividerCh1
returns a index which describes the TimeDivider |
static byte |
getTriggerEdge
Returns 1 databyte '0' if negEdge '1' if posEdge |
static byte |
getTriggerLevel
returns Trigger level as a message with 2byte data |
static byte[] |
RESET
RESET's Device |
static byte |
setTimeDividerCh0
sends a index value to the fpga 0 -> no divider 1 -> divide by (whatever you decide in the fpga impl ) 2,3,.... |
static byte |
setTimeDividerCh1
sends a index value to the fpga 0 -> no divider 1 -> divide by (whatever you decide in the fpga impl ) 2,3,.... |
static byte |
setTriggerLevelHighByte
TriggerLevel is a value from 0 to (2 ^ ADC bit count) As Adc Bit Count can be at maximum 16 bit - we have to transmit a High and a LowByte For a 8 bit ADC for example only a lowByte would be necessary. |
static byte |
setTriggerLevelLowByte
TriggerLevel is a value from 0 to (2 ^ ADC bit count) As Adc Bit Count can be at maximum 16 bit - we have to transmit a High and a LowByte For a 8 bit ADC for example only a lowByte would be necessary. |
static byte |
setTriggerNegEdge
Sets Trigger Edge to Pos or Neg respectively. |
static byte |
setTriggerPosEdge
Sets Trigger Edge to Pos or Neg respectively. |
static byte |
setVoltsDivide
no function yet |
static byte |
singleFrameCh0
returns a single DataFrame without Trigger |
static byte |
singleVoltValueCh0
read single Volt Value from respective Channel Has to be performed 2 times because first value the adc responds is a old one - see spartan 3a starterkit doku |
static byte |
singleVoltValueCh1
has no function when sent to device is only used to declare that the message which is sent from the device to the Controller that this is from Channel1 |
| Constructor Summary | |
|---|---|
opCodes()
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final byte setTimeDividerCh1
public static final byte setTimeDividerCh0
public static final byte setVoltsDivide
public static final byte setTriggerLevelHighByte
public static final byte setTriggerLevelLowByte
public static final byte setTriggerPosEdge
public static final byte setTriggerNegEdge
public static final byte getTriggerEdge
public static final byte getTimeDividerCh0
public static final byte getTimeDividerCh1
public static final byte dataAquCh0
public static final byte dataAquCh1
public static final byte singleVoltValueCh0
public static final byte singleVoltValueCh1
public static final byte singleFrameCh0
public static final byte getTriggerLevel
public static final byte[] RESET
| Constructor Detail |
|---|
public opCodes()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||