gclib 2.5.0
Galil Communications Library
Loading...
Searching...
No Matches
gclib_interrupt_t Struct Reference

An interrupt generated by the controller. More...

#include <gclib.h>

Public Attributes

gclib_interrupt_type type
union { 
   char   axis 
 If type is GCLIB_MOTION_COMPLETE, holds the axis that triggered the interrupt. More...
   uint8_t   digital_input 
 If type is GCLIB_DIGITAL_INPUT_LOW, holds the digital input that triggered the interrupt. More...
   uint8_t   user_interrupt 
 If type is GCLIB_USER_INTERRUPT, holds the user interrupt that was triggered. More...
}; 
uint8_t status
 The raw status byte generated by the controller. See the EI command reference for all possible values.

Detailed Description

An interrupt generated by the controller.

Definition at line 55 of file gclib.h.

Member Data Documentation

◆ type

Definition at line 56 of file gclib.h.

◆ axis

char axis

If type is GCLIB_MOTION_COMPLETE, holds the axis that triggered the interrupt.

Definition at line 58 of file gclib.h.

◆ digital_input

uint8_t digital_input

If type is GCLIB_DIGITAL_INPUT_LOW, holds the digital input that triggered the interrupt.

Definition at line 59 of file gclib.h.

◆ user_interrupt

uint8_t user_interrupt

If type is GCLIB_USER_INTERRUPT, holds the user interrupt that was triggered.

Definition at line 60 of file gclib.h.

◆ [union]

union { ... }

◆ status

uint8_t status

The raw status byte generated by the controller. See the EI command reference for all possible values.

Definition at line 62 of file gclib.h.


The documentation for this struct was generated from the following file: