Bitmap flags for spindle capabilities. More...
#include <spindle_control.h>
Data Fields | |
| uint16_t | value |
| All bitmap flags. More... | |
| struct { | |
| uint16_t variable:1 | |
| Variable spindle speed is supported. More... | |
| uint16_t direction:1 | |
| Spindle direction (M4) is supported. More... | |
| uint16_t at_speed:1 | |
| Spindle at speed feedback is supported. More... | |
| uint16_t laser:1 | |
| Spindle can control a laser. More... | |
| uint16_t pwm_invert:1 | |
| Spindle PWM output can be inverted. More... | |
| uint16_t pid:1 | |
| uint16_t pwm_linearization:1 | |
| uint16_t rpm_range_locked:1 | |
| Spindle RPM range (min, max) not inherited from settings. More... | |
| uint16_t gpio_controlled:1 | |
| On/off and direction is controlled by GPIO. More... | |
| uint16_t cmd_controlled:1 | |
| Command controlled, e.g. over ModBus. More... | |
| uint16_t cloned:1 | |
| Spindle is cloned. More... | |
| uint16_t torch:1 | |
| Spindle is plasma torch. More... | |
| uint16_t unassigned:4 | |
| }; | |
Bitmap flags for spindle capabilities.
| struct { ... } |
| uint16_t at_speed |
Spindle at speed feedback is supported.
| uint16_t cloned |
Spindle is cloned.
| uint16_t cmd_controlled |
Command controlled, e.g. over ModBus.
| uint16_t direction |
Spindle direction (M4) is supported.
| uint16_t gpio_controlled |
On/off and direction is controlled by GPIO.
| uint16_t laser |
Spindle can control a laser.
| uint16_t pid |
| uint16_t pwm_invert |
Spindle PWM output can be inverted.
| uint16_t pwm_linearization |
| uint16_t rpm_range_locked |
Spindle RPM range (min, max) not inherited from settings.
| uint16_t torch |
Spindle is plasma torch.
| uint16_t unassigned |
| uint16_t value |
All bitmap flags.
| uint16_t variable |
Variable spindle speed is supported.