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(ByteBuffer interrupt_pointer,
InterruptJNI.InterruptJNIHandlerFunction handler,
Object param,
IntBuffer status) |
static void |
cleanInterrupts(ByteBuffer interrupt_pointer,
IntBuffer status) |
static void |
disableInterrupts(ByteBuffer interrupt_pointer,
IntBuffer status) |
static void |
enableInterrupts(ByteBuffer interrupt_pointer,
IntBuffer status) |
static void |
initializeInterruptJVM(IntBuffer status) |
static ByteBuffer |
initializeInterrupts(int interruptIndex,
byte watcher,
IntBuffer status) |
static double |
readFallingTimestamp(ByteBuffer interrupt_pointer,
IntBuffer status) |
static double |
readRisingTimestamp(ByteBuffer interrupt_pointer,
IntBuffer status) |
static void |
requestInterrupts(ByteBuffer interrupt_pointer,
byte routing_module,
int routing_pin,
byte routing_analog_trigger,
IntBuffer status) |
static void |
setInterruptUpSourceEdge(ByteBuffer interrupt_pointer,
byte risingEdge,
byte fallingEdge,
IntBuffer status) |
static int |
waitForInterrupt(ByteBuffer interrupt_pointer,
double timeout,
boolean ignorePrevious,
IntBuffer status) |
getPort, getPortWithModule
public static void initializeInterruptJVM(IntBuffer status)
public static ByteBuffer initializeInterrupts(int interruptIndex, byte watcher, IntBuffer status)
public static void cleanInterrupts(ByteBuffer interrupt_pointer, IntBuffer status)
public static int waitForInterrupt(ByteBuffer interrupt_pointer, double timeout, boolean ignorePrevious, IntBuffer status)
public static void enableInterrupts(ByteBuffer interrupt_pointer, IntBuffer status)
public static void disableInterrupts(ByteBuffer interrupt_pointer, IntBuffer status)
public static double readRisingTimestamp(ByteBuffer interrupt_pointer, IntBuffer status)
public static double readFallingTimestamp(ByteBuffer interrupt_pointer, IntBuffer status)
public static void requestInterrupts(ByteBuffer interrupt_pointer, byte routing_module, int routing_pin, byte routing_analog_trigger, IntBuffer status)
public static void attachInterruptHandler(ByteBuffer interrupt_pointer, InterruptJNI.InterruptJNIHandlerFunction handler, Object param, IntBuffer status)
public static void setInterruptUpSourceEdge(ByteBuffer interrupt_pointer, byte risingEdge, byte fallingEdge, IntBuffer status)
Copyright © 2015. All rights reserved.