Stepper ISR data struct. Contains the running data for the main stepper ISR. More...
#include <stepper.h>
Data Fields | |
uint32_t | counter_x |
Counter variable for the Bresenham line tracer, X-axis. More... | |
uint32_t | counter_y |
Counter variable for the Bresenham line tracer, Y-axis. More... | |
uint32_t | counter_z |
< Counter variable for the Bresenham line tracer, Z-axis More... | |
bool | new_block |
Set to true when a new block is started, might be referenced by driver code for advanced functionality. More... | |
bool | dir_change |
Set to true on direction changes, might be referenced by driver for advanced functionality. More... | |
axes_signals_t | step_outbits |
The stepping signals to be output. More... | |
axes_signals_t | dir_outbits |
The direction signals to be output. The direction signals may be output only when stepper::dir_change is true to reduce overhead. More... | |
uint32_t | steps [N_AXIS] |
Number of step pulse event events per axis step pulse generated. More... | |
uint_fast8_t | amass_level |
AMASS level for this segment. More... | |
uint_fast16_t | step_count |
Steps remaining in line segment motion. More... | |
uint32_t | step_event_count |
Number of step pulse events to be output by this segment. More... | |
st_block_t * | exec_block |
Pointer to the block data for the segment being executed. More... | |
segment_t * | exec_segment |
Pointer to the segment being executed. More... | |
Stepper ISR data struct. Contains the running data for the main stepper ISR.
uint_fast8_t amass_level |
AMASS level for this segment.
uint32_t counter_x |
Counter variable for the Bresenham line tracer, X-axis.
uint32_t counter_y |
Counter variable for the Bresenham line tracer, Y-axis.
uint32_t counter_z |
< Counter variable for the Bresenham line tracer, Z-axis
bool dir_change |
Set to true on direction changes, might be referenced by driver for advanced functionality.
axes_signals_t dir_outbits |
The direction signals to be output. The direction signals may be output only when stepper::dir_change is true to reduce overhead.
st_block_t* exec_block |
Pointer to the block data for the segment being executed.
segment_t* exec_segment |
Pointer to the segment being executed.
bool new_block |
Set to true when a new block is started, might be referenced by driver code for advanced functionality.
uint_fast16_t step_count |
Steps remaining in line segment motion.
uint32_t step_event_count |
Number of step pulse events to be output by this segment.
axes_signals_t step_outbits |
The stepping signals to be output.
uint32_t steps[N_AXIS] |
Number of step pulse event events per axis step pulse generated.