motor board library
Dependencies: ST_INTERFACES X_NUCLEO_COMMON
Fork of X_NUCLEO_IHM02A1 by
Revision 5:3cde564db574, committed 2015-12-01
- Comitter:
- Davidroid
- Date:
- Tue Dec 01 14:06:31 2015 +0000
- Parent:
- 4:381d76f5b0b4
- Child:
- 6:c62aa608a493
- Commit message:
- + Added SoftHiz() and HardHiz() to the StepperMotor Interface.
Changed in this revision
| Components/Interfaces/StepperMotor_class.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/Components/Interfaces/StepperMotor_class.h Thu Nov 26 16:24:17 2015 +0000
+++ b/Components/Interfaces/StepperMotor_class.h Tue Dec 01 14:06:31 2015 +0000
@@ -221,20 +221,34 @@
virtual void Move(direction_t direction, unsigned int steps) = 0;
/**
- * @brief Stopping the motor.
+ * @brief Stopping the motor through an immediate deceleration up to zero speed.
* @param None.
* @retval None.
*/
virtual void SoftStop(void) = 0;
/**
- * @brief Stopping the motor and disabling the power bridge.
+ * @brief Stopping the motor through an immediate infinite deceleration.
* @param None.
* @retval None.
*/
virtual void HardStop(void) = 0;
/**
+ * @brief Disabling the power bridge after performing a deceleration to zero.
+ * @param None.
+ * @retval None.
+ */
+ virtual void SoftHiZ(void) = 0;
+
+ /**
+ * @brief Disabling the power bridge immediately.
+ * @param None.
+ * @retval None.
+ */
+ virtual void HardHiZ(void) = 0;
+
+ /**
* @brief Waiting while the motor is active.
* @param None.
* @retval None.
