Official interfaces for ST components.

Dependents:   X_NUCLEO_IKS01A1 mDot_X_NUCLEO_IKS01A1 53L0A1 X_NUCLEO_IKS01A1 ... more

Fork of ST_INTERFACES by Davide Aliprandi

This library contains all abstract classes which together constitute the common API to which all existing and future ST components will adhere to.

Files at this revision

API Documentation at this revision

Comitter:
Davidroid
Date:
Fri Mar 24 12:59:21 2017 +0000
Parent:
4:8f70f7159316
Commit message:
Changed a returned type in BDCMotor interface.

Changed in this revision

Actuators/BDCMotor.h Show annotated file Show diff for this revision Revisions of this file
--- a/Actuators/BDCMotor.h	Fri Mar 10 11:03:17 2017 +0100
+++ b/Actuators/BDCMotor.h	Fri Mar 24 12:59:21 2017 +0000
@@ -97,7 +97,7 @@
      * @param  motorId from 0 to (MAX_NUMBER_OF_BRUSH_DC_MOTORS - 1). 
      * @retval The device state
      */
-    virtual motorState_t get_device_state(unsigned int) = 0;
+    virtual unsigned int get_device_state(unsigned int) = 0;
 
     /**
      * @brief  Getting the current speed in % of the specified motor.