X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fhw%2Fhw_dc_motor.h;h=f39388df00c019bb85c05ad79a7ea758cf193416;hb=470f5cb37d5adce8fa5efd0092b2885528d7fb32;hp=4592af99f4b96503764fe8737dad480fc31696ac;hpb=ed4b778f8193e5c3252db7c217c31eec6db834c5;p=bertos.git diff --git a/bertos/hw/hw_dc_motor.h b/bertos/hw/hw_dc_motor.h index 4592af99..f39388df 100644 --- 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 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 -#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)