*
* \brief Stepper hardware-specific definitions
*
- * \version $Id$
*
* \author Daniele Basile <asterix@develer.com>
*/
#ifndef HW_STEPPER_H
#define HW_STEPPER_H
-#include "hw_cpu.h"
+#include <hw/hw_cpufreq.h>
#include <cfg/macros.h>
/**
* Stepper timer clock frequency.
*/
-#define STEPPER_CLOCK ((CLOCK_FREQ) >> STEPPER_PRESCALER_LOG2)
+#define STEPPER_CLOCK ((CPU_FREQ) >> STEPPER_PRESCALER_LOG2)
/**
* us delay to reset a stepper motor.
/*
* Set control status macro
*/
-#warning This macro is not implemented (see below)
+#warning TODO: This macro is not implemented (see below)
#define STEPPER_SET_CONTROL_BIT_MACRO(index, flag) do { \
/* if (flag) */ \
/*
* Set current power macro
*/
-#warning This macro is not implemented (see below)
+#warning TODO: This macro is not implemented (see below)
#define STEPPER_SET_POWER_CURRENT_MACRO(index, flag) do { \
/* if (flag) */ \
} while (0)
#endif /* HW_STEPPER_H */
+
+