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 ClassesModifier and TypeClassDescriptionstatic enumFlags that can be combined to select which interrupts should be enabled byset_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 -
Method Summary
Modifier and TypeMethodDescriptionbyteaxis()IftypeisMotionComplete, holds the axis that triggered the interrupt.axis(byte setter) shortIftypeisDigitalInputLow, holds the digital input that triggered the interrupt.digital_input(short setter) shortstatus()The raw status byte generated by the controller.status(short setter) type()type(Gclib.Interrupt.Type setter) shortIftypeisUserInterrupt, 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
-
Constructor Details
-
Interrupt
public Interrupt()
-
-
Method Details
-
type
-
type
-
axis
@Cast("char") public byte axis()IftypeisMotionComplete, holds the axis that triggered the interrupt. -
axis
-
digital_input
@Cast("uint8_t") public short digital_input()IftypeisDigitalInputLow, holds the digital input that triggered the interrupt. -
digital_input
-
user_interrupt
@Cast("uint8_t") public short user_interrupt()IftypeisUserInterrupt, holds the user interrupt that was triggered. -
user_interrupt
-
status
@Cast("uint8_t") public short status()The raw status byte generated by the controller. See the [EIcommand reference](https://www.galil.com/download/comref/comall/index.html#event_interrupts.html+DMC4000) for all possible values. -
status
-