Package edu.wpi.first.hal.simulation
Class AnalogInDataJNI
java.lang.Object
edu.wpi.first.hal.JNIWrapper
edu.wpi.first.hal.simulation.AnalogInDataJNI
public class AnalogInDataJNI extends JNIWrapper
JNI for analog input data.
-
Nested Class Summary
-
Method Summary
Modifier and Type Method Description static void
cancelAccumulatorCenterCallback(int index, int uid)
static void
cancelAccumulatorCountCallback(int index, int uid)
static void
cancelAccumulatorDeadbandCallback(int index, int uid)
static void
cancelAccumulatorInitializedCallback(int index, int uid)
static void
cancelAccumulatorValueCallback(int index, int uid)
static void
cancelAverageBitsCallback(int index, int uid)
static void
cancelInitializedCallback(int index, int uid)
static void
cancelOversampleBitsCallback(int index, int uid)
static void
cancelVoltageCallback(int index, int uid)
static int
getAccumulatorCenter(int index)
static long
getAccumulatorCount(int index)
static int
getAccumulatorDeadband(int index)
static boolean
getAccumulatorInitialized(int index)
static long
getAccumulatorValue(int index)
static int
getAverageBits(int index)
static boolean
getInitialized(int index)
static int
getOversampleBits(int index)
static double
getVoltage(int index)
static int
registerAccumulatorCenterCallback(int index, NotifyCallback callback, boolean initialNotify)
static int
registerAccumulatorCountCallback(int index, NotifyCallback callback, boolean initialNotify)
static int
registerAccumulatorDeadbandCallback(int index, NotifyCallback callback, boolean initialNotify)
static int
registerAccumulatorInitializedCallback(int index, NotifyCallback callback, boolean initialNotify)
static int
registerAccumulatorValueCallback(int index, NotifyCallback callback, boolean initialNotify)
static int
registerAverageBitsCallback(int index, NotifyCallback callback, boolean initialNotify)
static int
registerInitializedCallback(int index, NotifyCallback callback, boolean initialNotify)
static int
registerOversampleBitsCallback(int index, NotifyCallback callback, boolean initialNotify)
static int
registerVoltageCallback(int index, NotifyCallback callback, boolean initialNotify)
static void
resetData(int index)
static void
setAccumulatorCenter(int index, int AccumulatorCenter)
static void
setAccumulatorCount(int index, long accumulatorCount)
static void
setAccumulatorDeadband(int index, int AccumulatorDeadband)
static void
setAccumulatorInitialized(int index, boolean accumulatorInitialized)
static void
setAccumulatorValue(int index, long accumulatorValue)
static void
setAverageBits(int index, int averageBits)
static void
setInitialized(int index, boolean initialized)
static void
setOversampleBits(int index, int oversampleBits)
static void
setVoltage(int index, double voltage)
-
Method Details
-
registerInitializedCallback
public static int registerInitializedCallback(int index, NotifyCallback callback, boolean initialNotify) -
cancelInitializedCallback
-
getInitialized
-
setInitialized
-
registerAverageBitsCallback
public static int registerAverageBitsCallback(int index, NotifyCallback callback, boolean initialNotify) -
cancelAverageBitsCallback
-
getAverageBits
-
setAverageBits
-
registerOversampleBitsCallback
public static int registerOversampleBitsCallback(int index, NotifyCallback callback, boolean initialNotify) -
cancelOversampleBitsCallback
-
getOversampleBits
-
setOversampleBits
-
registerVoltageCallback
public static int registerVoltageCallback(int index, NotifyCallback callback, boolean initialNotify) -
cancelVoltageCallback
-
getVoltage
-
setVoltage
-
registerAccumulatorInitializedCallback
public static int registerAccumulatorInitializedCallback(int index, NotifyCallback callback, boolean initialNotify) -
cancelAccumulatorInitializedCallback
-
getAccumulatorInitialized
-
setAccumulatorInitialized
-
registerAccumulatorValueCallback
public static int registerAccumulatorValueCallback(int index, NotifyCallback callback, boolean initialNotify) -
cancelAccumulatorValueCallback
-
getAccumulatorValue
-
setAccumulatorValue
-
registerAccumulatorCountCallback
public static int registerAccumulatorCountCallback(int index, NotifyCallback callback, boolean initialNotify) -
cancelAccumulatorCountCallback
-
getAccumulatorCount
-
setAccumulatorCount
-
registerAccumulatorCenterCallback
public static int registerAccumulatorCenterCallback(int index, NotifyCallback callback, boolean initialNotify) -
cancelAccumulatorCenterCallback
-
getAccumulatorCenter
-
setAccumulatorCenter
-
registerAccumulatorDeadbandCallback
public static int registerAccumulatorDeadbandCallback(int index, NotifyCallback callback, boolean initialNotify) -
cancelAccumulatorDeadbandCallback
-
getAccumulatorDeadband
-
setAccumulatorDeadband
-
resetData
-