Package edu.wpi.first.hal.simulation
Class SPIDataJNI
java.lang.Object
edu.wpi.first.hal.JNIWrapper
edu.wpi.first.hal.simulation.SPIDataJNI
public class SPIDataJNI extends JNIWrapper
-
Nested Class Summary
-
Constructor Summary
Constructors Constructor Description SPIDataJNI()
-
Method Summary
Modifier and Type Method Description static void
cancelInitializedCallback(int index, int uid)
static void
cancelReadAutoReceiveBufferCallback(int index, int uid)
static void
cancelReadCallback(int index, int uid)
static void
cancelWriteCallback(int index, int uid)
static boolean
getInitialized(int index)
static int
registerInitializedCallback(int index, NotifyCallback callback, boolean initialNotify)
static int
registerReadAutoReceiveBufferCallback(int index, SpiReadAutoReceiveBufferCallback callback)
static int
registerReadCallback(int index, BufferCallback callback)
static int
registerWriteCallback(int index, ConstBufferCallback callback)
static void
resetData(int index)
static void
setInitialized(int index, boolean initialized)
-
Constructor Details
-
SPIDataJNI
public SPIDataJNI()
-
-
Method Details
-
registerInitializedCallback
public static int registerInitializedCallback(int index, NotifyCallback callback, boolean initialNotify) -
cancelInitializedCallback
-
getInitialized
-
setInitialized
-
registerReadCallback
-
cancelReadCallback
-
registerWriteCallback
-
cancelWriteCallback
-
registerReadAutoReceiveBufferCallback
public static int registerReadAutoReceiveBufferCallback(int index, SpiReadAutoReceiveBufferCallback callback) -
cancelReadAutoReceiveBufferCallback
-
resetData
-