Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 41 lines (29 sloc) 1.231 kb
ac2e26f added buffered stepping support and the rudiments of the arc-interpolato...
Simen Svale Skogsrud authored
1 /*
a4c6494 Simen Svale Skogsrud refactored stepper_plan -> planner (untested)
simen authored
2 stepper.h - stepper motor driver: executes motion plans of planner.c using the stepper motors
ac2e26f added buffered stepping support and the rudiments of the arc-interpolato...
Simen Svale Skogsrud authored
3 Part of Grbl
4
49a16cb Simen Svale Skogsrud refactored block buffer into separate module motion_plan pending the add...
simen authored
5 Copyright (c) 2009-2011 Simen Svale Skogsrud
ac2e26f added buffered stepping support and the rudiments of the arc-interpolato...
Simen Svale Skogsrud authored
6
7 Grbl is free software: you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation, either version 3 of the License, or
10 (at your option) any later version.
11
12 Grbl is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with Grbl. If not, see <http://www.gnu.org/licenses/>.
19 */
20
21 #ifndef stepper_h
22 #define stepper_h
23
24 #include <avr/io.h>
25 #include <avr/sleep.h>
26
27 // Initialize and start the stepper motor subsystem
28 void st_init();
29
30 // Block until all buffered steps are executed
31 void st_synchronize();
32
33 // Execute the homing cycle
34 void st_go_home();
a4c6494 Simen Svale Skogsrud refactored stepper_plan -> planner (untested)
simen authored
35
36 // The stepper subsystem goes to sleep when it runs out of things to execute. Call this
37 // to notify the subsystem that it is time to go to work.
38 void st_wake_up();
ac2e26f added buffered stepping support and the rudiments of the arc-interpolato...
Simen Svale Skogsrud authored
39
40 #endif
Something went wrong with that request. Please try again.