Class PWMDataJNI

    • Constructor Detail

      • PWMDataJNI

        public PWMDataJNI()
    • Method Detail

      • registerInitializedCallback

        public static int registerInitializedCallback​(int index,
                                                      NotifyCallback callback,
                                                      boolean initialNotify)
      • cancelInitializedCallback

        public static void cancelInitializedCallback​(int index,
                                                     int uid)
      • getInitialized

        public static boolean getInitialized​(int index)
      • setInitialized

        public static void setInitialized​(int index,
                                          boolean initialized)
      • registerRawValueCallback

        public static int registerRawValueCallback​(int index,
                                                   NotifyCallback callback,
                                                   boolean initialNotify)
      • cancelRawValueCallback

        public static void cancelRawValueCallback​(int index,
                                                  int uid)
      • getRawValue

        public static int getRawValue​(int index)
      • setRawValue

        public static void setRawValue​(int index,
                                       int rawValue)
      • registerSpeedCallback

        public static int registerSpeedCallback​(int index,
                                                NotifyCallback callback,
                                                boolean initialNotify)
      • cancelSpeedCallback

        public static void cancelSpeedCallback​(int index,
                                               int uid)
      • getSpeed

        public static double getSpeed​(int index)
      • setSpeed

        public static void setSpeed​(int index,
                                    double speed)
      • registerPositionCallback

        public static int registerPositionCallback​(int index,
                                                   NotifyCallback callback,
                                                   boolean initialNotify)
      • cancelPositionCallback

        public static void cancelPositionCallback​(int index,
                                                  int uid)
      • getPosition

        public static double getPosition​(int index)
      • setPosition

        public static void setPosition​(int index,
                                       double position)
      • registerPeriodScaleCallback

        public static int registerPeriodScaleCallback​(int index,
                                                      NotifyCallback callback,
                                                      boolean initialNotify)
      • cancelPeriodScaleCallback

        public static void cancelPeriodScaleCallback​(int index,
                                                     int uid)
      • getPeriodScale

        public static int getPeriodScale​(int index)
      • setPeriodScale

        public static void setPeriodScale​(int index,
                                          int periodScale)
      • registerZeroLatchCallback

        public static int registerZeroLatchCallback​(int index,
                                                    NotifyCallback callback,
                                                    boolean initialNotify)
      • cancelZeroLatchCallback

        public static void cancelZeroLatchCallback​(int index,
                                                   int uid)
      • getZeroLatch

        public static boolean getZeroLatch​(int index)
      • setZeroLatch

        public static void setZeroLatch​(int index,
                                        boolean zeroLatch)
      • resetData

        public static void resetData​(int index)