grblHAL core  20240704
spindle_cap_t Union Reference

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   unassigned:5
 
}; 
 

Detailed Description

Bitmap flags for spindle capabilities.

Field Documentation

◆ 

struct { ... }

◆ at_speed

uint16_t at_speed

Spindle at speed feedback is supported.

◆ cloned

uint16_t cloned

Spindle is cloned.

◆ cmd_controlled

uint16_t cmd_controlled

Command controlled, e.g. over ModBus.

◆ direction

uint16_t direction

Spindle direction (M4) is supported.

◆ gpio_controlled

uint16_t gpio_controlled

On/off and direction is controlled by GPIO.

◆ laser

uint16_t laser

Spindle can control a laser.

◆ pid

uint16_t pid

◆ pwm_invert

uint16_t pwm_invert

Spindle PWM output can be inverted.

◆ pwm_linearization

uint16_t pwm_linearization

◆ rpm_range_locked

uint16_t rpm_range_locked

Spindle RPM range (min, max) not inherited from settings.

◆ unassigned

uint16_t unassigned

◆ value

uint16_t value

All bitmap flags.

◆ variable

uint16_t variable

Variable spindle speed is supported.


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