projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
USB: coding style fixes (structure naming)
[bertos.git]
/
bertos
/
hw
/
hw_dc_motor.h
diff --git
a/bertos/hw/hw_dc_motor.h
b/bertos/hw/hw_dc_motor.h
index 4592af99f4b96503764fe8737dad480fc31696ac..f39388df00c019bb85c05ad79a7ea758cf193416 100644
(file)
--- a/
bertos/hw/hw_dc_motor.h
+++ b/
bertos/hw/hw_dc_motor.h
@@
-57,8
+57,11
@@
// Macro that disable the select DC motor
#define DC_MOTOR_DISABLE(dev) /* Implement me! */
// Macro that disable the select DC motor
#define DC_MOTOR_DISABLE(dev) /* Implement me! */
+// Macro that left the DC motor rotor float
+#define DC_MOTOR_STOP_FLOAT(dev) DC_MOTOR_DISABLE(dev)
// Macro that put in short circuit DC motor supply pins
// Macro that put in short circuit DC motor supply pins
-#define DC_MOTOR_IDLE(dev) do { /* Implement me! */ } while (0)
+#define DC_MOTOR_STOP_BRAKED(dev) do { /* Implement me! */ } while (0)
+
// Macro that set motor direction
#define DC_MOTOR_SET_DIR(dev, dir) do { /* Implement me! */ } while (0)
// Macro that set motor direction
#define DC_MOTOR_SET_DIR(dev, dir) do { /* Implement me! */ } while (0)