Package edu.wpi.first.hal.simulation
Class PWMDataJNI
java.lang.Object
edu.wpi.first.hal.JNIWrapper
edu.wpi.first.hal.simulation.PWMDataJNI
public class PWMDataJNI extends JNIWrapper
-
Nested Class Summary
-
Constructor Summary
Constructors Constructor Description PWMDataJNI()
-
Method Summary
Modifier and Type Method Description static void
cancelInitializedCallback(int index, int uid)
static void
cancelPeriodScaleCallback(int index, int uid)
static void
cancelPositionCallback(int index, int uid)
static void
cancelPulseMicrosecondCallback(int index, int uid)
static void
cancelSpeedCallback(int index, int uid)
static void
cancelZeroLatchCallback(int index, int uid)
static boolean
getInitialized(int index)
static int
getPeriodScale(int index)
static double
getPosition(int index)
static int
getPulseMicrosecond(int index)
static double
getSpeed(int index)
static boolean
getZeroLatch(int index)
static int
registerInitializedCallback(int index, NotifyCallback callback, boolean initialNotify)
static int
registerPeriodScaleCallback(int index, NotifyCallback callback, boolean initialNotify)
static int
registerPositionCallback(int index, NotifyCallback callback, boolean initialNotify)
static int
registerPulseMicrosecondCallback(int index, NotifyCallback callback, boolean initialNotify)
static int
registerSpeedCallback(int index, NotifyCallback callback, boolean initialNotify)
static int
registerZeroLatchCallback(int index, NotifyCallback callback, boolean initialNotify)
static void
resetData(int index)
static void
setInitialized(int index, boolean initialized)
static void
setPeriodScale(int index, int periodScale)
static void
setPosition(int index, double position)
static void
setPulseMicrosecond(int index, int microsecondPulseTime)
static void
setSpeed(int index, double speed)
static void
setZeroLatch(int index, boolean zeroLatch)
-
Constructor Details
-
PWMDataJNI
public PWMDataJNI()
-
-
Method Details
-
registerInitializedCallback
public static int registerInitializedCallback(int index, NotifyCallback callback, boolean initialNotify) -
cancelInitializedCallback
-
getInitialized
-
setInitialized
-
registerPulseMicrosecondCallback
public static int registerPulseMicrosecondCallback(int index, NotifyCallback callback, boolean initialNotify) -
cancelPulseMicrosecondCallback
-
getPulseMicrosecond
-
setPulseMicrosecond
-
registerSpeedCallback
-
cancelSpeedCallback
-
getSpeed
-
setSpeed
-
registerPositionCallback
public static int registerPositionCallback(int index, NotifyCallback callback, boolean initialNotify) -
cancelPositionCallback
-
getPosition
-
setPosition
-
registerPeriodScaleCallback
public static int registerPeriodScaleCallback(int index, NotifyCallback callback, boolean initialNotify) -
cancelPeriodScaleCallback
-
getPeriodScale
-
setPeriodScale
-
registerZeroLatchCallback
public static int registerZeroLatchCallback(int index, NotifyCallback callback, boolean initialNotify) -
cancelZeroLatchCallback
-
getZeroLatch
-
setZeroLatch
-
resetData
-