grblHAL core  20241107
spindle_state_t Union Reference

#include <spindle_control.h>

Data Fields

uint8_t value
 
uint8_t mask
 
struct {
   uint8_t   on:1
 
   uint8_t   ccw:1
 
   uint8_t   pwm:1
 NOTE: only used for PWM inversion setting. More...
 
   uint8_t   reserved:1
 
   uint8_t   override_disable:1
 
   uint8_t   encoder_error:1
 
   uint8_t   at_speed:1
 Spindle is at speed. More...
 
   uint8_t   synchronized:1
 
}; 
 

Field Documentation

◆ 

struct { ... }

◆ at_speed

uint8_t at_speed

Spindle is at speed.

◆ ccw

uint8_t ccw

◆ encoder_error

uint8_t encoder_error

◆ mask

uint8_t mask

◆ on

uint8_t on

◆ override_disable

uint8_t override_disable

◆ pwm

uint8_t pwm

NOTE: only used for PWM inversion setting.

◆ reserved

uint8_t reserved

◆ synchronized

uint8_t synchronized

◆ value

uint8_t value

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