grblHAL core  20260225
spindle_param Struct Reference

Structure used for holding the current state of an enabled spindle. More...

#include <spindle_control.h>

Data Fields

float rpm
 
float rpm_overridden
 
spindle_state_t state
 
override_t override_pct
 Spindle RPM override value in percent. More...
 
spindle_css_data_t css
 Data used for Constant Surface Speed Mode (CSS) calculations, NULL if not in CSS mode. More...
 
struct {
   uint8_t   ramp_up:1
 
   uint8_t   ramp_down:1
 
   uint8_t   ignore_delays:1
 
   uint8_t   override_disable:1
 
option
 
spindle_ptrs_thal
 

Detailed Description

Structure used for holding the current state of an enabled spindle.

Field Documentation

◆ css

Data used for Constant Surface Speed Mode (CSS) calculations, NULL if not in CSS mode.

◆ hal

◆ ignore_delays

uint8_t ignore_delays

◆ 

struct { ... } option

◆ override_disable

uint8_t override_disable

◆ override_pct

override_t override_pct

Spindle RPM override value in percent.

◆ ramp_down

uint8_t ramp_down

◆ ramp_up

uint8_t ramp_up

◆ rpm

float rpm

◆ rpm_overridden

float rpm_overridden

◆ state


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