Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Klipper3d/klipper.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/stepper.h')
-rw-r--r--src/stepper.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/stepper.h b/src/stepper.h
new file mode 100644
index 000000000..9a81b56e2
--- /dev/null
+++ b/src/stepper.h
@@ -0,0 +1,14 @@
+#ifndef __STEPPER_H
+#define __STEPPER_H
+
+#include <stdint.h> // uint8_t
+
+enum { STEPPER_POSITION_BIAS=0x40000000 };
+
+uint8_t stepper_event(struct timer *t);
+void command_config_stepper(uint32_t *args);
+struct stepper;
+uint32_t stepper_get_position(struct stepper *s);
+void stepper_stop(struct stepper *s);
+
+#endif // stepper.h