Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: ST_INTERFACES X_NUCLEO_COMMON
Fork of X_NUCLEO_IHM01A1 by
Diff: Components/Interfaces/StepperMotor_class.h
- Revision:
- 13:ba2728afe4c2
- Parent:
- 10:c3824af0caf4
- Child:
- 18:2d6ab2b93685
--- a/Components/Interfaces/StepperMotor_class.h Fri Nov 27 11:25:21 2015 +0000
+++ b/Components/Interfaces/StepperMotor_class.h Tue Dec 01 13:54:37 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.
