Class InterruptJNI

    • Constructor Detail

      • InterruptJNI

        public InterruptJNI()
    • Method Detail

      • initializeInterrupts

        public static int initializeInterrupts​(boolean watcher)
      • cleanInterrupts

        public static void cleanInterrupts​(int interruptHandle)
      • waitForInterrupt

        public static int waitForInterrupt​(int interruptHandle,
                                           double timeout,
                                           boolean ignorePrevious)
      • enableInterrupts

        public static void enableInterrupts​(int interruptHandle)
      • disableInterrupts

        public static void disableInterrupts​(int interruptHandle)
      • readInterruptRisingTimestamp

        public static long readInterruptRisingTimestamp​(int interruptHandle)
      • readInterruptFallingTimestamp

        public static long readInterruptFallingTimestamp​(int interruptHandle)
      • requestInterrupts

        public static void requestInterrupts​(int interruptHandle,
                                             int digitalSourceHandle,
                                             int analogTriggerType)
      • setInterruptUpSourceEdge

        public static void setInterruptUpSourceEdge​(int interruptHandle,
                                                    boolean risingEdge,
                                                    boolean fallingEdge)