optimized for size, shaved 2k

This commit is contained in:
Simen Svale Skogsrud
2009-02-08 21:22:54 +01:00
parent c07a322589
commit 05bacc436e
5 changed files with 202 additions and 258 deletions

View File

@ -32,8 +32,11 @@
// Initialize and start the stepper motor subsystem
void st_init();
// Set the rate steps are taken from the buffer and executed
void st_set_pace(uint32_t microseconds);
// Returns a bitmask with the stepper bit for the given axis set
uint8_t st_bit_for_stepper(int axis);
// Buffer a change in the rate steps are taken from the buffer and executed
void st_buffer_pace(uint32_t microseconds);
// Buffer a new instruction for the steppers
void st_buffer_step(uint8_t motor_port_bits);