projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Find automatically the plugins in the directory plugin
[bertos.git]
/
bertos
/
drv
/
dc_motor.h
diff --git
a/bertos/drv/dc_motor.h
b/bertos/drv/dc_motor.h
index 9aac6548e3235461d1731c3363c1a59a91f21ead..3f4b15dd0ae20f49ec067fcd400ccf3d48480f44 100644
(file)
--- a/
bertos/drv/dc_motor.h
+++ b/
bertos/drv/dc_motor.h
@@
-30,17
+30,25
@@
* -->
*
*
* -->
*
*
- * \brief DC motor driver
(interface)
+ * \brief DC motor driver
.
*
* \version $Id$
*
* \author Daniele Basile <asterix@develer.com>
*
* \version $Id$
*
* \author Daniele Basile <asterix@develer.com>
+ *
+ * $WIZ$ module_name = "dc_motor"
+ * $WIZ$ module_depends = "pwm", "pid_control", "adc", "timer"
+ * $WIZ$ module_configuration = "bertos/cfg/cfg_dc_motor.h"
+ * $WIZ$ module_hw = "bertos/hw/hw_dc_motor.h"
*/
#ifndef DRV_DC_MOTOR_H
#define DRV_DC_MOTOR_H
*/
#ifndef DRV_DC_MOTOR_H
#define DRV_DC_MOTOR_H
-#include "hw_dc_motor.h"
+#include "hw/hw_dc_motor.h"
+
+#include "cfg/cfg_dc_motor.h"
+#include <cfg/macros.h>
#include <algo/pid_control.h>
#include <algo/pid_control.h>
@@
-48,9
+56,6
@@
#include <drv/timer.h>
#include <drv/adc.h>
#include <drv/timer.h>
#include <drv/adc.h>
-#include <cfg/macros.h>
-
-#include "appconfig.h"
/**
* Define status bit for DC motor device.
/**
* Define status bit for DC motor device.