Added ST_INTERFACES library.

Dependencies:   ST_INTERFACES X_NUCLEO_COMMON

Fork of X_NUCLEO_IHM03A1 by ST

Revision:
1:8ce2a5d6fbf8
Parent:
0:00a3c3f5a8f0
diff -r 00a3c3f5a8f0 -r 8ce2a5d6fbf8 Components/Common/motor.h
--- a/Components/Common/motor.h	Tue Apr 05 15:18:56 2016 +0000
+++ b/Components/Common/motor.h	Thu Apr 07 16:11:47 2016 +0000
@@ -2,8 +2,8 @@
   ******************************************************************************
   * @file    motor.h
   * @author  IPC Rennes
-  * @version V1.5.0
-  * @date    January 25, 2016
+  * @version V1.6.0
+  * @date    April 7th, 2016
   * @brief   This file contains all the functions prototypes for motor drivers.   
   ******************************************************************************
   * @attention
@@ -269,7 +269,7 @@
   /// Function pointer to GetDeviceState
   motorState_t(*GetDeviceState)(void *handle); 
   /// Function pointer to GetFwVersion
-  uint8_t (*GetFwVersion)(void *handle); 
+  uint32_t (*GetFwVersion)(void *handle); 
   /// Function pointer to GetMark
   int32_t (*GetMark)(void *handle); 
   /// Function pointer to GetMaxSpeed
@@ -329,7 +329,7 @@
   /// Function pointer to Reset
   void (*Reset)(void *handle); 
   /// Function pointer to SelectStepMode
-  void (*SelectStepMode)(void *handle, motorStepMode_t);
+  bool (*SelectStepMode)(void *handle, motorStepMode_t);
   /// Function pointer to SetDirection
   void (*SetDirection)(void *handle, motorDir_t direction);
   /// Function pointer to CmdGoToDir