ching-yang Trui / X_NUCLEO_IHM02A1

Dependencies:   ST_INTERFACES X_NUCLEO_COMMON

Dependents:   selfbalansingcar

Fork of X_NUCLEO_IHM02A1 by ST

Revision:
14:e614697ebf34
Parent:
11:1aca63b2f034
Child:
15:31785d1acd4b
--- a/BSP/x_nucleo_ihm02a1_class.h	Tue Jan 19 16:07:00 2016 +0000
+++ b/BSP/x_nucleo_ihm02a1_class.h	Tue Feb 09 16:01:30 2016 +0000
@@ -49,12 +49,12 @@
 
 /* ACTION 1 ------------------------------------------------------------------*
  * Include here platform specific header files.                               *
- *----------------------------------------------------------------------------*/        
+ *----------------------------------------------------------------------------*/
 #include "mbed.h"
 #include "DevSPI.h"
 /* ACTION 2 ------------------------------------------------------------------*
- * Include here expansion board specific header files.                        *
- *----------------------------------------------------------------------------*/        
+ * Include here expansion board configuration's header files.                 *
+ *----------------------------------------------------------------------------*/
 #include "x_nucleo_ihm02a1_config.h"
 /* ACTION 3 ------------------------------------------------------------------*
  * Include here expansion board's components' header files.                   *
@@ -86,7 +86,7 @@
      * @param ssel          pin name of the SSEL pin of the SPI device to be used for communication.
      * @param spi           SPI device to be used for communication.
      */
-    X_NUCLEO_IHM02A1(L6470_InitTypeDef *init_0, L6470_InitTypeDef *init_1, PinName flag_irq, PinName busy_irq, PinName standby_reset, PinName ssel, DevSPI *spi);
+    X_NUCLEO_IHM02A1(L6470_Init_t *init_0, L6470_Init_t *init_1, PinName flag_irq, PinName busy_irq, PinName standby_reset, PinName ssel, DevSPI *spi);
 
     /**
      * @brief Constructor.
@@ -100,7 +100,7 @@
      * @param miso          pin name of the MISO pin of the SPI device to be used for communication.
      * @param sclk          pin name of the SCLK pin of the SPI device to be used for communication.
      */
-    X_NUCLEO_IHM02A1(L6470_InitTypeDef *init_0, L6470_InitTypeDef *init_1, PinName flag_irq, PinName busy_irq, PinName standby_reset, PinName ssel, PinName mosi, PinName miso, PinName sclk);
+    X_NUCLEO_IHM02A1(L6470_Init_t *init_0, L6470_Init_t *init_1, PinName flag_irq, PinName busy_irq, PinName standby_reset, PinName ssel, PinName mosi, PinName miso, PinName sclk);
 
     /**
      * @brief Destructor.
@@ -198,7 +198,7 @@
     L6470 *components[L6470DAISYCHAINSIZE];
     
     /* Components' initialization. */
-    L6470_InitTypeDef *init_components[L6470DAISYCHAINSIZE];
+    L6470_Init_t *init_components[L6470DAISYCHAINSIZE];
 
     /* Results of prepared actions. */
     uint32_t results[L6470DAISYCHAINSIZE];
@@ -218,6 +218,6 @@
     static uint8_t number_of_boards;
 };
 
-#endif // __X_NUCLEO_IHM02A1_CLASS_H
+#endif /* __X_NUCLEO_IHM02A1_CLASS_H */
 
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ 
+/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/