Subversion Repositories Code-Repo

Rev

Rev 316 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
312 Kevin 1
#ifndef STEPPER_H
2
#define	STEPPER_H
3
 
4
#define DVR8825
5
 
6
typedef enum {
7
    STEP_1_1,
8
    STEP_1_2,
9
    STEP_1_4,
10
    STEP_1_8,
11
    STEP_1_16,
12
    STEP_1_32
13
} STEPPER_MICROSTEP;
14
 
15
void STEPPER_Set_Microstep(STEPPER_MICROSTEP);
315 Kevin 16
void STEPPER_Set_Next_Step(void);
17
STEPPER_MICROSTEP STEPPER_Get_Cur_Step(void);
18
void STEPPER_Toggle_Auto(void);
19
void STEPPER_Step(void);
312 Kevin 20
 
21
#endif	/* STEPPER_H */
22