Emilio Salomone / X_NUCLEO_IKS01A2

Dependencies:   ST_INTERFACES X_NUCLEO_COMMON

Fork of X_NUCLEO_IKS01A2 by ST

Revision:
6:671fd10a51b7
Parent:
0:cad5dab2b21d
diff -r 63b2b4c21092 -r 671fd10a51b7 Components/LPS22HBSensor/LPS22HB_Driver.h
--- a/Components/LPS22HBSensor/LPS22HB_Driver.h	Thu Dec 15 14:03:46 2016 +0000
+++ b/Components/LPS22HBSensor/LPS22HB_Driver.h	Tue Mar 14 13:41:32 2017 +0100
@@ -1,6 +1,6 @@
 /**
  ******************************************************************************
- * @file    LPS22HB_Driver.h
+ * @file    LPS22HB_driver.h
  * @author  HESA Application Team
  * @version V1.1
  * @date    10-August-2016
@@ -45,7 +45,7 @@
 extern "C" {
 #endif
 
-// the user must include the proper file where HAL_ReadReg and HAL_WriteReg are implemented
+// the user must include the proper file where HAL_read_reg and HAL_write_reg are implemented
 //#include "HAL_EnvSensors.h"
 
 /* Uncomment the line below to expanse the "assert_param" macro in the  drivers code */
@@ -317,7 +317,7 @@
   uint8_t   Major;
   uint8_t   Minor;
   uint8_t Point;
-}LPS22HB_DriverVersion_st;
+}LPS22HB_driverVersion_st;
 
 
 /**
@@ -337,9 +337,9 @@
 * @brief  Set the LPS22HB driver version.
 */
 
-#define LPS22HB_DriverVersion_Major (uint8_t)1
-#define LPS22HB_DriverVersion_Minor (uint8_t)0
-#define LPS22HB_DriverVersion_Point (uint8_t)0
+#define LPS22HB_driverVersion_Major (uint8_t)1
+#define LPS22HB_driverVersion_Minor (uint8_t)0
+#define LPS22HB_driverVersion_Point (uint8_t)0
 
 /**
 * @}
@@ -798,8 +798,8 @@
 * @{
 */
 
-LPS22HB_Error_et LPS22HB_ReadReg( void *handle, uint8_t RegAddr, uint16_t NumByteToRead, uint8_t *Data );
-LPS22HB_Error_et LPS22HB_WriteReg( void *handle, uint8_t RegAddr, uint16_t NumByteToWrite, uint8_t *Data );
+LPS22HB_Error_et LPS22HB_read_reg( void *handle, uint8_t RegAddr, uint16_t NumByteToRead, uint8_t *Data );
+LPS22HB_Error_et LPS22HB_write_reg( void *handle, uint8_t RegAddr, uint16_t NumByteToWrite, uint8_t *Data );
 
 /**
 * @brief  Init the HAL layer.
@@ -821,7 +821,7 @@
 * @param  None
 * @retval Error Code [LPS22HB_ERROR, LPS22HB_OK]
 */
-LPS22HB_Error_et LPS22HB_Get_DriverVersion(LPS22HB_DriverVersion_st *Version);
+LPS22HB_Error_et LPS22HB_Get_DriverVersion(LPS22HB_driverVersion_st *Version);
 
 /**
 * @brief  Initialization function for LPS22HB.