Package edu.wpi.first.hal.simulation
Class DigitalPWMDataJNI
java.lang.Object
edu.wpi.first.hal.JNIWrapper
edu.wpi.first.hal.simulation.DigitalPWMDataJNI
public class DigitalPWMDataJNI extends JNIWrapper
JNI for digital PWM data.
-
Nested Class Summary
-
Method Summary
Modifier and Type Method Description static void
cancelDutyCycleCallback(int index, int uid)
static void
cancelInitializedCallback(int index, int uid)
static void
cancelPinCallback(int index, int uid)
static int
findForChannel(int channel)
static double
getDutyCycle(int index)
static boolean
getInitialized(int index)
static int
getPin(int index)
static int
registerDutyCycleCallback(int index, NotifyCallback callback, boolean initialNotify)
static int
registerInitializedCallback(int index, NotifyCallback callback, boolean initialNotify)
static int
registerPinCallback(int index, NotifyCallback callback, boolean initialNotify)
static void
resetData(int index)
static void
setDutyCycle(int index, double dutyCycle)
static void
setInitialized(int index, boolean initialized)
static void
setPin(int index, int pin)
-
Method Details
-
registerInitializedCallback
public static int registerInitializedCallback(int index, NotifyCallback callback, boolean initialNotify) -
cancelInitializedCallback
-
getInitialized
-
setInitialized
-
registerDutyCycleCallback
public static int registerDutyCycleCallback(int index, NotifyCallback callback, boolean initialNotify) -
cancelDutyCycleCallback
-
getDutyCycle
-
setDutyCycle
-
registerPinCallback
-
cancelPinCallback
-
getPin
-
setPin
-
resetData
-
findForChannel
-