Package edu.wpi.first.hal.simulation
Class I2CDataJNI
java.lang.Object
edu.wpi.first.hal.JNIWrapper
edu.wpi.first.hal.simulation.I2CDataJNI
public class I2CDataJNI extends JNIWrapper
JNI for I2C data.
-
Nested Class Summary
-
Method Summary
Modifier and Type Method Description static 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)
-
Method Details
-
registerInitializedCallback
public static int registerInitializedCallback(int index, NotifyCallback callback, boolean initialNotify) -
cancelInitializedCallback
-
getInitialized
-
setInitialized
-
registerReadCallback
-
cancelReadCallback
-
registerWriteCallback
-
cancelWriteCallback
-
resetData
-