grblHAL core  20261015
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
 
st2_motor_flags_t flags
 
volatile int64_t position
 
st2_profile_t profile
 
axes_signals_t dir
 
uint64_t next_step
 
hal_timer_t step_inject_timer
 
foreground_task_ptr on_stopped
 
st2_motor_t * next
 

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

◆ axis

◆ dir

◆ flags

◆ idx

uint_fast8_t idx

◆ next

st2_motor_t* next

◆ next_step

uint64_t next_step

◆ on_stopped

foreground_task_ptr on_stopped

◆ position

volatile int64_t position

◆ profile

st2_profile_t profile

◆ step_inject_timer

hal_timer_t step_inject_timer

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