public class CounterJNI extends JNIWrapper
Constructor and Description |
---|
CounterJNI() |
Modifier and Type | Method and Description |
---|---|
static void |
clearCounterDownSource(java.nio.ByteBuffer counter_pointer,
java.nio.IntBuffer status) |
static void |
clearCounterUpSource(java.nio.ByteBuffer counter_pointer,
java.nio.IntBuffer status) |
static void |
freeCounter(java.nio.ByteBuffer counter_pointer,
java.nio.IntBuffer status) |
static int |
getCounter(java.nio.ByteBuffer counter_pointer,
java.nio.IntBuffer status) |
static byte |
getCounterDirection(java.nio.ByteBuffer counter_pointer,
java.nio.IntBuffer status) |
static double |
getCounterPeriod(java.nio.ByteBuffer counter_pointer,
java.nio.IntBuffer status) |
static int |
getCounterSamplesToAverage(java.nio.ByteBuffer counter_pointer,
java.nio.IntBuffer status) |
static byte |
getCounterStopped(java.nio.ByteBuffer counter_pointer,
java.nio.IntBuffer status) |
static java.nio.ByteBuffer |
initializeCounter(int mode,
java.nio.IntBuffer index,
java.nio.IntBuffer status) |
static void |
resetCounter(java.nio.ByteBuffer counter_pointer,
java.nio.IntBuffer status) |
static void |
setCounterAverageSize(java.nio.ByteBuffer counter_pointer,
int size,
java.nio.IntBuffer status) |
static void |
setCounterDownSource(java.nio.ByteBuffer counter_pointer,
int pin,
byte analogTrigger,
java.nio.IntBuffer status) |
static void |
setCounterDownSourceEdge(java.nio.ByteBuffer counter_pointer,
byte risingEdge,
byte fallingEdge,
java.nio.IntBuffer status) |
static void |
setCounterExternalDirectionMode(java.nio.ByteBuffer counter_pointer,
java.nio.IntBuffer status) |
static void |
setCounterMaxPeriod(java.nio.ByteBuffer counter_pointer,
double maxPeriod,
java.nio.IntBuffer status) |
static void |
setCounterPulseLengthMode(java.nio.ByteBuffer counter_pointer,
double threshold,
java.nio.IntBuffer status) |
static void |
setCounterReverseDirection(java.nio.ByteBuffer counter_pointer,
byte reverseDirection,
java.nio.IntBuffer status) |
static void |
setCounterSamplesToAverage(java.nio.ByteBuffer counter_pointer,
int samplesToAverage,
java.nio.IntBuffer status) |
static void |
setCounterSemiPeriodMode(java.nio.ByteBuffer counter_pointer,
byte highSemiPeriod,
java.nio.IntBuffer status) |
static void |
setCounterUpdateWhenEmpty(java.nio.ByteBuffer counter_pointer,
byte enabled,
java.nio.IntBuffer status) |
static void |
setCounterUpDownMode(java.nio.ByteBuffer counter_pointer,
java.nio.IntBuffer status) |
static void |
setCounterUpSource(java.nio.ByteBuffer counter_pointer,
int pin,
byte analogTrigger,
java.nio.IntBuffer status) |
static void |
setCounterUpSourceEdge(java.nio.ByteBuffer counter_pointer,
byte risingEdge,
byte fallingEdge,
java.nio.IntBuffer status) |
getPort, getPortWithModule
public CounterJNI()
public static java.nio.ByteBuffer initializeCounter(int mode, java.nio.IntBuffer index, java.nio.IntBuffer status)
public static void freeCounter(java.nio.ByteBuffer counter_pointer, java.nio.IntBuffer status)
public static void setCounterAverageSize(java.nio.ByteBuffer counter_pointer, int size, java.nio.IntBuffer status)
public static void setCounterUpSource(java.nio.ByteBuffer counter_pointer, int pin, byte analogTrigger, java.nio.IntBuffer status)
public static void setCounterUpSourceEdge(java.nio.ByteBuffer counter_pointer, byte risingEdge, byte fallingEdge, java.nio.IntBuffer status)
public static void clearCounterUpSource(java.nio.ByteBuffer counter_pointer, java.nio.IntBuffer status)
public static void setCounterDownSource(java.nio.ByteBuffer counter_pointer, int pin, byte analogTrigger, java.nio.IntBuffer status)
public static void setCounterDownSourceEdge(java.nio.ByteBuffer counter_pointer, byte risingEdge, byte fallingEdge, java.nio.IntBuffer status)
public static void clearCounterDownSource(java.nio.ByteBuffer counter_pointer, java.nio.IntBuffer status)
public static void setCounterUpDownMode(java.nio.ByteBuffer counter_pointer, java.nio.IntBuffer status)
public static void setCounterExternalDirectionMode(java.nio.ByteBuffer counter_pointer, java.nio.IntBuffer status)
public static void setCounterSemiPeriodMode(java.nio.ByteBuffer counter_pointer, byte highSemiPeriod, java.nio.IntBuffer status)
public static void setCounterPulseLengthMode(java.nio.ByteBuffer counter_pointer, double threshold, java.nio.IntBuffer status)
public static int getCounterSamplesToAverage(java.nio.ByteBuffer counter_pointer, java.nio.IntBuffer status)
public static void setCounterSamplesToAverage(java.nio.ByteBuffer counter_pointer, int samplesToAverage, java.nio.IntBuffer status)
public static void resetCounter(java.nio.ByteBuffer counter_pointer, java.nio.IntBuffer status)
public static int getCounter(java.nio.ByteBuffer counter_pointer, java.nio.IntBuffer status)
public static double getCounterPeriod(java.nio.ByteBuffer counter_pointer, java.nio.IntBuffer status)
public static void setCounterMaxPeriod(java.nio.ByteBuffer counter_pointer, double maxPeriod, java.nio.IntBuffer status)
public static void setCounterUpdateWhenEmpty(java.nio.ByteBuffer counter_pointer, byte enabled, java.nio.IntBuffer status)
public static byte getCounterStopped(java.nio.ByteBuffer counter_pointer, java.nio.IntBuffer status)
public static byte getCounterDirection(java.nio.ByteBuffer counter_pointer, java.nio.IntBuffer status)
public static void setCounterReverseDirection(java.nio.ByteBuffer counter_pointer, byte reverseDirection, java.nio.IntBuffer status)