Rev 316 | Blame | Compare with Previous | Last modification | View Log | RSS feed
#ifndef STEPPER_H
#define STEPPER_H
#define DVR8825
typedef enum {
STEP_1_1,
STEP_1_2,
STEP_1_4,
STEP_1_8,
STEP_1_16,
STEP_1_32
} STEPPER_MICROSTEP;
void STEPPER_Set_Microstep(STEPPER_MICROSTEP);
void STEPPER_Set_Next_Step(void);
STEPPER_MICROSTEP STEPPER_Get_Cur_Step(void);
void STEPPER_Toggle_Auto(void);
void STEPPER_Step(void);
#endif /* STEPPER_H */