wayne roberts / X_NUCLEO_IKS01A1

Dependencies:   X_NUCLEO_COMMON

Dependents:   iks01a1_acc LoRaWAN-demo-72_mdotIKS01A1 MTDOT-UDKDemo_Senet MTDOT-UDKDemo

Fork of X_NUCLEO_IKS01A1 by ST

Revision:
30:7b36639ee80a
Parent:
28:501726e9220d
Child:
32:2bb1d4ced32b
--- a/Components/Common/TempSensor.h	Thu Jun 04 11:51:44 2015 +0200
+++ b/Components/Common/TempSensor.h	Thu Jun 04 13:46:35 2015 +0200
@@ -51,10 +51,10 @@
  public:
 	/**
 	 * @brief       Initialization of temperature sensor
-	 * @param[out]  Pointer to device specific initalization structure
+	 * @param[out]  ptr Pointer to device specific initalization structure
 	 * @retval      0 in case of success, an error code otherwise
 	 */
-	virtual int Init(void*) = 0;
+	virtual int Init(void *ptr) = 0;
 
 	/**
 	 * @brief       Enter sensor shutdown mode
@@ -64,10 +64,10 @@
 	
 	/**
 	 * @brief       Get ID of temperature sensor
-	 * @param[out]  Pointer to where to store the ID to
+	 * @param[out]  id Pointer to where to store the ID to
 	 * @retval      0 in case of success, an error code otherwise
 	 */
-	virtual int ReadID(uint8_t*) = 0;
+	virtual int ReadID(uint8_t *id) = 0;
 
 	/**
 	 * @brief       Reset sensor
@@ -77,10 +77,10 @@
 
 	/**
 	 * @brief       Get current temperature [°C]
-	 * @param[out]  Pointer to where to store temperature to
+	 * @param[out]  pfData Pointer to where to store temperature to
 	 * @retval      0 in case of success, an error code otherwise
 	 */
-	virtual int GetTemperature(float*) = 0;
+	virtual int GetTemperature(float *pfData) = 0;
 
 	virtual void ConfigIT(uint16_t) = 0;
 	virtual void EnableIT(uint8_t) = 0;