Class SPIAccelerometerDataJNI

java.lang.Object
edu.wpi.first.hal.JNIWrapper
edu.wpi.first.hal.simulation.SPIAccelerometerDataJNI

public class SPIAccelerometerDataJNI extends JNIWrapper
JNI for SPI accelerometer data.
  • Method Details

    • registerActiveCallback

      public static int registerActiveCallback(int index, NotifyCallback callback, boolean initialNotify)
    • cancelActiveCallback

      public static void cancelActiveCallback(int index, int uid)
    • getActive

      public static boolean getActive(int index)
    • setActive

      public static void setActive(int index, boolean active)
    • registerRangeCallback

      public static int registerRangeCallback(int index, NotifyCallback callback, boolean initialNotify)
    • cancelRangeCallback

      public static void cancelRangeCallback(int index, int uid)
    • getRange

      public static int getRange(int index)
    • setRange

      public static void setRange(int index, int range)
    • registerXCallback

      public static int registerXCallback(int index, NotifyCallback callback, boolean initialNotify)
    • cancelXCallback

      public static void cancelXCallback(int index, int uid)
    • getX

      public static double getX(int index)
    • setX

      public static void setX(int index, double x)
    • registerYCallback

      public static int registerYCallback(int index, NotifyCallback callback, boolean initialNotify)
    • cancelYCallback

      public static void cancelYCallback(int index, int uid)
    • getY

      public static double getY(int index)
    • setY

      public static void setY(int index, double y)
    • registerZCallback

      public static int registerZCallback(int index, NotifyCallback callback, boolean initialNotify)
    • cancelZCallback

      public static void cancelZCallback(int index, int uid)
    • getZ

      public static double getZ(int index)
    • setZ

      public static void setZ(int index, double z)
    • resetData

      public static void resetData(int index)