grblHAL core  20241107
st2_motor Struct Reference

Internal structure for holding motor configuration and keeping track of its status. More...

Data Fields

uint_fast8_t idx
 
axes_signals_t axis
 
bool is_spindle
 
bool is_bound
 
bool polling
 
bool position_lost
 
volatile int64_t position
 
position_t ptype
 
st2_state_t state
 
uint32_t move
 
uint32_t step_no
 
uint32_t step_run
 
uint32_t step_down
 
uint64_t c64
 
uint64_t delay
 
uint32_t first_delay
 
uint16_t min_delay
 
int32_t denom
 
uint32_t n
 
float speed
 
float prev_speed
 
float acceleration
 
axes_signals_t dir
 
uint64_t next_step
 
hal_timer_t step_inject_timer
 
foreground_task_ptr on_stopped
 
st2_motor_tnext
 

Detailed Description

Internal structure for holding motor configuration and keeping track of its status.

NOTE: The contents of this structure should not be accessed directly by user code.

Field Documentation

◆ acceleration

float acceleration

◆ axis

◆ c64

uint64_t c64

◆ delay

uint64_t delay

◆ denom

int32_t denom

◆ dir

◆ first_delay

uint32_t first_delay

◆ idx

uint_fast8_t idx

◆ is_bound

bool is_bound

◆ is_spindle

bool is_spindle

◆ min_delay

uint16_t min_delay

◆ move

uint32_t move

◆ n

uint32_t n

◆ next

st2_motor_t* next

◆ next_step

uint64_t next_step

◆ on_stopped

foreground_task_ptr on_stopped

◆ polling

bool polling

◆ position

volatile int64_t position

◆ position_lost

bool position_lost

◆ prev_speed

float prev_speed

◆ ptype

position_t ptype

◆ speed

float speed

◆ state

st2_state_t state

◆ step_down

uint32_t step_down

◆ step_inject_timer

hal_timer_t step_inject_timer

◆ step_no

uint32_t step_no

◆ step_run

uint32_t step_run

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