Package edu.wpi.first.hal.simulation
Class DigitalPWMDataJNI
java.lang.Object
edu.wpi.first.hal.JNIWrapper
edu.wpi.first.hal.simulation.DigitalPWMDataJNI
JNI for digital PWM data.
-
Nested Class Summary
Nested classes/interfaces inherited from class edu.wpi.first.hal.JNIWrapper
JNIWrapper.Helper
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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) 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
-
registerDutyCycleCallback
public static int registerDutyCycleCallback(int index, NotifyCallback callback, boolean initialNotify) -
cancelDutyCycleCallback
-
getDutyCycle
-
setDutyCycle
-
registerPinCallback
-
cancelPinCallback
-
getPin
-
setPin
-
resetData
-
findForChannel
-