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.
Fork of ReferredCoursework2016 by
Diff: Components/Common/TempSensor.h
- 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;