Subversion Repositories Code-Repo

Rev

Rev 315 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 315 Rev 316
Line 10... Line 10...
10
    STEP_1_8,
10
    STEP_1_8,
11
    STEP_1_16,
11
    STEP_1_16,
12
    STEP_1_32
12
    STEP_1_32
13
} STEPPER_MICROSTEP;
13
} STEPPER_MICROSTEP;
14
 
14
 
15
typedef enum {
-
 
16
    DELAY_1000MS,
-
 
17
    DELAY_500MS,
-
 
18
    DELAY_333MS,
-
 
19
    DELAY_250MS,
-
 
20
    DELAY_100MS,
-
 
21
    DELAY_50MS,
-
 
22
    DELAY_25MS,
-
 
23
    DELAY_10MS,
-
 
24
    DELAY_5MS,
-
 
25
    DELAY_1MS,
-
 
26
    DELAY_STOPPED
-
 
27
} STEPPER_SPEED;
-
 
28
 
-
 
29
void STEPPER_Set_Microstep(STEPPER_MICROSTEP);
15
void STEPPER_Set_Microstep(STEPPER_MICROSTEP);
30
void STEPPER_Set_Next_Step(void);
16
void STEPPER_Set_Next_Step(void);
31
STEPPER_MICROSTEP STEPPER_Get_Cur_Step(void);
17
STEPPER_MICROSTEP STEPPER_Get_Cur_Step(void);
32
void STEPPER_Set_Next_Delay(void);
-
 
33
STEPPER_SPEED STEPPER_Get_Cur_Speed(void);
-
 
34
void STEPPER_Toggle_Auto(void);
18
void STEPPER_Toggle_Auto(void);
35
STEPPER_SPEED STEPPER_Get_Auto(void);
-
 
36
void STEPPER_Step(void);
19
void STEPPER_Step(void);
37
 
20
 
38
#endif	/* STEPPER_H */
21
#endif	/* STEPPER_H */
39
 
22