hw_stepper.h File Reference
Stepper hardware-specific definitions. More...
#include <hw/hw_cpufreq.h>#include <cfg/macros.h>#include <drv/timer.h>Go to the source code of this file.
Defines | |
| #define | STEPPER_PRESCALER_LOG2 1 |
| CPU clock frequency is divided by 2^STEPPER_PRESCALER_LOG2 to obtain stepper clock. | |
| #define | STEPPER_CLOCK ((CPU_FREQ) >> STEPPER_PRESCALER_LOG2) |
| Stepper timer clock frequency. | |
| #define | STEPPER_RESET_DELAY 1 |
| us delay to reset a stepper motor. | |
Detailed Description
Stepper hardware-specific definitions.
- Version:
- Id
- hw_stepper.h 2488 2009-04-10 17:52:12Z batt
Definition in file hw_stepper.h.
Define Documentation
| #define STEPPER_RESET_DELAY 1 |
us delay to reset a stepper motor.
This is the time neccessary to reset the stepper controll chip. (see datasheet for more detail).
Definition at line 77 of file hw_stepper.h.
