public class InterruptJNI extends JNIWrapper
Modifier and Type | Class and Description |
---|---|
static interface |
InterruptJNI.InterruptJNIHandlerFunction |
Constructor and Description |
---|
InterruptJNI() |
Modifier and Type | Method and Description |
---|---|
static void |
attachInterruptHandler(java.nio.ByteBuffer interrupt_pointer,
InterruptJNI.InterruptJNIHandlerFunction handler,
java.lang.Object param,
java.nio.IntBuffer status) |
static void |
cleanInterrupts(java.nio.ByteBuffer interrupt_pointer,
java.nio.IntBuffer status) |
static void |
disableInterrupts(java.nio.ByteBuffer interrupt_pointer,
java.nio.IntBuffer status) |
static void |
enableInterrupts(java.nio.ByteBuffer interrupt_pointer,
java.nio.IntBuffer status) |
static void |
initializeInterruptJVM(java.nio.IntBuffer status) |
static java.nio.ByteBuffer |
initializeInterrupts(int interruptIndex,
byte watcher,
java.nio.IntBuffer status) |
static double |
readFallingTimestamp(java.nio.ByteBuffer interrupt_pointer,
java.nio.IntBuffer status) |
static double |
readRisingTimestamp(java.nio.ByteBuffer interrupt_pointer,
java.nio.IntBuffer status) |
static void |
requestInterrupts(java.nio.ByteBuffer interrupt_pointer,
byte routing_module,
int routing_pin,
byte routing_analog_trigger,
java.nio.IntBuffer status) |
static void |
setInterruptUpSourceEdge(java.nio.ByteBuffer interrupt_pointer,
byte risingEdge,
byte fallingEdge,
java.nio.IntBuffer status) |
static int |
waitForInterrupt(java.nio.ByteBuffer interrupt_pointer,
double timeout,
boolean ignorePrevious,
java.nio.IntBuffer status) |
getPort, getPortWithModule
public InterruptJNI()
public static void initializeInterruptJVM(java.nio.IntBuffer status)
public static java.nio.ByteBuffer initializeInterrupts(int interruptIndex, byte watcher, java.nio.IntBuffer status)
public static void cleanInterrupts(java.nio.ByteBuffer interrupt_pointer, java.nio.IntBuffer status)
public static int waitForInterrupt(java.nio.ByteBuffer interrupt_pointer, double timeout, boolean ignorePrevious, java.nio.IntBuffer status)
public static void enableInterrupts(java.nio.ByteBuffer interrupt_pointer, java.nio.IntBuffer status)
public static void disableInterrupts(java.nio.ByteBuffer interrupt_pointer, java.nio.IntBuffer status)
public static double readRisingTimestamp(java.nio.ByteBuffer interrupt_pointer, java.nio.IntBuffer status)
public static double readFallingTimestamp(java.nio.ByteBuffer interrupt_pointer, java.nio.IntBuffer status)
public static void requestInterrupts(java.nio.ByteBuffer interrupt_pointer, byte routing_module, int routing_pin, byte routing_analog_trigger, java.nio.IntBuffer status)
public static void attachInterruptHandler(java.nio.ByteBuffer interrupt_pointer, InterruptJNI.InterruptJNIHandlerFunction handler, java.lang.Object param, java.nio.IntBuffer status)
public static void setInterruptUpSourceEdge(java.nio.ByteBuffer interrupt_pointer, byte risingEdge, byte fallingEdge, java.nio.IntBuffer status)