![]() |
gclib 2.5.0
Galil Communications Library
|
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. | |
| gclib_interrupt_type type |
| char axis |
If type is GCLIB_MOTION_COMPLETE, holds the axis that triggered the interrupt.
| uint8_t digital_input |
If type is GCLIB_DIGITAL_INPUT_LOW, holds the digital input that triggered the interrupt.
| uint8_t user_interrupt |
If type is GCLIB_USER_INTERRUPT, holds the user interrupt that was triggered.
| union { ... } |
| uint8_t status |
The raw status byte generated by the controller. See the EI command reference for all possible values.