Stepper ISR data struct. Contains the running data for the main stepper ISR. More...
#include <stepper.h>
Data Fields | |
bool | new_block |
Set to true when a new block is started, might be referenced by driver code for advanced functionality. More... | |
axes_signals_t | dir_changed |
Per axis bits set to true on direction changes, might be referenced by driver for advanced functionality. More... | |
axes_signals_t | step_out |
The stepping signals to be output. More... | |
axes_signals_t | dir_out |
The direction signals to be output. The direction signals may be output only when stepper.dir_change is true to reduce overhead. 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... | |
steps_t | steps |
Number of step pulse event events per axis step pulse generated. More... | |
steps_t | counter |
Counter variables for the Bresenham line tracer. 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.
steps_t counter |
Counter variables for the Bresenham line tracer.
axes_signals_t dir_changed |
Per axis bits set to true on direction changes, might be referenced by driver for advanced functionality.
axes_signals_t dir_out |
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_out |
The stepping signals to be output.
steps_t steps |
Number of step pulse event events per axis step pulse generated.