Personal fork of the library for direct control instead of library control

Dependencies:   X_NUCLEO_COMMON

Dependents:   Thesis_Rotating_Platform

Fork of X_NUCLEO_IHM01A1 by Arkadi Rafalovich

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