examples/benchmark/kernel-core_avr/hw/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 2927 2009-09-10 13:06:04Z lottaviano
Definition in file examples/benchmark/kernel-core_avr/hw/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 examples/benchmark/kernel-core_avr/hw/hw_stepper.h.
