Package edu.wpi.first.hal.simulation
Class SPIDataJNI
java.lang.Object
edu.wpi.first.hal.JNIWrapper
edu.wpi.first.hal.simulation.SPIDataJNI
JNI for SPI data.
-
Nested Class Summary
Nested classes/interfaces inherited from class edu.wpi.first.hal.JNIWrapper
JNIWrapper.Helper
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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) Methods inherited from class edu.wpi.first.hal.JNIWrapper
forceLoad, suppressUnused
-
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
-