Package com.galil

Class Gclib.Interrupt

java.lang.Object
org.bytedeco.javacpp.Pointer
com.galil.Gclib.Interrupt
All Implemented Interfaces:
AutoCloseable
Enclosing class:
Gclib

@Namespace("gclib") public static class Gclib.Interrupt extends org.bytedeco.javacpp.Pointer
An unsolicited interrupt. Use set_interrupts to configure which types are generated by the controller, and subscribe_interrupts to receive generated interrupts from the controller.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
    Flags that can be combined to select which interrupts should be enabled by set_interrupts().

    Nested classes/interfaces inherited from class org.bytedeco.javacpp.Pointer

    org.bytedeco.javacpp.Pointer.CustomDeallocator, org.bytedeco.javacpp.Pointer.Deallocator, org.bytedeco.javacpp.Pointer.NativeDeallocator, org.bytedeco.javacpp.Pointer.ReferenceCounter
  • Field Summary

    Fields inherited from class org.bytedeco.javacpp.Pointer

    address, capacity, limit, position
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    byte
    If type is MotionComplete, holds the axis that triggered the interrupt.
    axis(byte setter)
     
    short
    If type is DigitalInputLow, holds the digital input that triggered the interrupt.
    digital_input(short setter)
     
    short
    The raw status byte generated by the controller.
    status(short setter)
     
     
     
    short
    If type is UserInterrupt, holds the user interrupt that was triggered.
    user_interrupt(short setter)
     

    Methods inherited from class org.bytedeco.javacpp.Pointer

    address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, trimMemory, withDeallocator, zero

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Interrupt

      public Interrupt()
  • Method Details

    • type

      public Gclib.Interrupt.Type type()
    • type

      public Gclib.Interrupt type(Gclib.Interrupt.Type setter)
    • axis

      @Cast("char") public byte axis()
      If type is MotionComplete, holds the axis that triggered the interrupt.
    • axis

      public Gclib.Interrupt axis(byte setter)
    • digital_input

      @Cast("uint8_t") public short digital_input()
      If type is DigitalInputLow, holds the digital input that triggered the interrupt.
    • digital_input

      public Gclib.Interrupt digital_input(short setter)
    • user_interrupt

      @Cast("uint8_t") public short user_interrupt()
      If type is UserInterrupt, holds the user interrupt that was triggered.
    • user_interrupt

      public Gclib.Interrupt user_interrupt(short setter)
    • status

      @Cast("uint8_t") public short status()
      The raw status byte generated by the controller. See the [EI command reference](https://www.galil.com/download/comref/comall/index.html#event_interrupts.html+DMC4000) for all possible values.
    • status

      public Gclib.Interrupt status(short setter)