Package edu.wpi.first.hal.simulation
Class I2CDataJNI
java.lang.Object
edu.wpi.first.hal.JNIWrapper
edu.wpi.first.hal.simulation.I2CDataJNI
JNI for I2C 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
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
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
-
resetData
-