motor board library

Dependencies:   ST_INTERFACES X_NUCLEO_COMMON

Dependents:   selfbalansingcar

Fork of X_NUCLEO_IHM02A1 by ST

Files at this revision

API Documentation at this revision

Comitter:
Davidroid
Date:
Thu Dec 10 15:08:48 2015 +0000
Parent:
6:c62aa608a493
Child:
8:a9513361a2ec
Commit message:
+ Comments related to the component updated.

Changed in this revision

Components/l6470/l6470_class.cpp Show annotated file Show diff for this revision Revisions of this file
Components/l6470/l6470_class.h Show annotated file Show diff for this revision Revisions of this file
--- a/Components/l6470/l6470_class.cpp	Wed Dec 09 15:00:35 2015 +0000
+++ b/Components/l6470/l6470_class.cpp	Thu Dec 10 15:08:48 2015 +0000
@@ -52,17 +52,6 @@
 #include "l6470.h"
 
 
-/* Definitions ---------------------------------------------------------------*/
-
-/**
-  * @defgroup   L6470_Private_Macros
-  * @brief      L6470 Private Macros.
-  * @{
-  */
-//#define _DELAY(TDISCS) for(delay_cnt=0; delay_cnt<20; delay_cnt++) __NOP()   //!<Simply deselect time delay for SPI nCS
-/* End of L6470_Private_Macros */
-
-
 /* Methods -------------------------------------------------------------------*/
 
 /**
--- a/Components/l6470/l6470_class.h	Wed Dec 09 15:00:35 2015 +0000
+++ b/Components/l6470/l6470_class.h	Thu Dec 10 15:08:48 2015 +0000
@@ -119,10 +119,8 @@
          * line.                                                              *
          *                                                                    *
          * Example:                                                           *
-         *   T0_out = 0;                                                      *
-         *   T1_out = 0;                                                      *
-         *   T0_degC = 0;                                                     *
-         *   T1_degC = 0;                                                     *
+         *   measure = 0;                                                     *
+         *   instance_id = number_of_instances++;                             *
          *--------------------------------------------------------------------*/
         L6470_Register = &_L6470_Register[0];
         L6470_ApplicationCommand = &_L6470_ApplicationCommand[0];