MOVE_STATE Struct Reference

this struct is made for tracking the current state of the movement More...

#include <dda.h>

Data Fields

int32_t x_counter
 counter for total_steps vs this axis
int32_t y_counter
 counter for total_steps vs this axis
int32_t z_counter
 counter for total_steps vs this axis
uint32_t x_steps
 number of steps on X axis
uint32_t y_steps
 number of steps on Y axis
uint32_t z_steps
 number of steps on Z axis

Detailed Description

this struct is made for tracking the current state of the movement

Parts of this struct are initialised only once per reboot, so make sure dda_step() leaves them with a value compatible to begin a new movement at the end of the movement. Other parts are filled in by dda_start().


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Defines
Generated on Mon Jul 30 16:33:59 2012 for Teacup by  doxygen 1.6.3