From f582a36e4df16d5709943f7df17a900c8bcc12ab Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Wed, 25 May 2016 11:37:40 -0400 Subject: Initial commit of source code. Signed-off-by: Kevin O'Connor --- src/stepper.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/stepper.h (limited to 'src/stepper.h') diff --git a/src/stepper.h b/src/stepper.h new file mode 100644 index 00000000..9a81b56e --- /dev/null +++ b/src/stepper.h @@ -0,0 +1,14 @@ +#ifndef __STEPPER_H +#define __STEPPER_H + +#include // 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 -- cgit v1.2.3-70-g09d2