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/Common/motor.h
- Revision:
- 1:b38ebb8ea286
- Parent:
- 0:2887415a46cd
- Child:
- 5:d3c78f12a78d
--- a/Components/Common/motor.h Wed Oct 14 15:12:18 2015 +0000
+++ b/Components/Common/motor.h Fri Oct 16 13:30:06 2015 +0000
@@ -72,7 +72,7 @@
#define TRUE (1)
#endif
- /**
+/**
* @}
*/
@@ -80,11 +80,6 @@
* @{
*/
- /** @defgroup Motor_Boolean_Type
- * @{
- */
-///bool Type
-//typedef uint8_t bool;
/**
* @}
*/
@@ -97,6 +92,7 @@
BACKWARD = 0,
FORWARD = 1
} motorDir_t;
+
/**
* @}
*/
@@ -298,6 +294,8 @@
bool (*SoftStop)(void *handle);
/// Function pointer to StepClockHandler
void (*StepClockHandler)(void *handle);
+ /// Function pointer to WaitWhileActive
+ void (*WaitWhileActive)(void *handle);
/// Function pointer to CmdDisable
void (*CmdDisable)(void *handle);
/// Function pointer to CmdEnable
