Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: iks01a1_acc LoRaWAN-demo-72_mdotIKS01A1 MTDOT-UDKDemo_Senet MTDOT-UDKDemo
Fork of X_NUCLEO_IKS01A1 by
Diff: Components/Common/TempSensor.h
- Revision:
- 32:2bb1d4ced32b
- Parent:
- 30:7b36639ee80a
- Child:
- 38:e06de1c26727
--- a/Components/Common/TempSensor.h Thu Jun 04 13:46:35 2015 +0200 +++ b/Components/Common/TempSensor.h Thu Jun 04 14:01:31 2015 +0200 @@ -52,33 +52,33 @@ /** * @brief Initialization of temperature sensor * @param[out] ptr Pointer to device specific initalization structure - * @retval 0 in case of success, an error code otherwise + * @return 0 in case of success, an error code otherwise */ virtual int Init(void *ptr) = 0; /** * @brief Enter sensor shutdown mode - * @retval 0 in case of success, an error code otherwise + * @return 0 in case of success, an error code otherwise */ virtual int PowerOff(void) = 0; /** * @brief Get ID of temperature sensor * @param[out] id Pointer to where to store the ID to - * @retval 0 in case of success, an error code otherwise + * @return 0 in case of success, an error code otherwise */ virtual int ReadID(uint8_t *id) = 0; /** * @brief Reset sensor - * @retval 0 in case of success, an error code otherwise + * @return 0 in case of success, an error code otherwise */ virtual int Reset(void) = 0; /** * @brief Get current temperature [°C] * @param[out] pfData Pointer to where to store temperature to - * @retval 0 in case of success, an error code otherwise + * @return 0 in case of success, an error code otherwise */ virtual int GetTemperature(float *pfData) = 0;
