From 3382ed7ae024250b265519b57482342608d7d0cb Mon Sep 17 00:00:00 2001 From: asterix Date: Wed, 11 Jan 2012 14:40:28 +0000 Subject: [PATCH] Add documentation for LM75 insanity... git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5248 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/drv/lm75.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bertos/drv/lm75.h b/bertos/drv/lm75.h index 78a1c405..e503b6cd 100644 --- a/bertos/drv/lm75.h +++ b/bertos/drv/lm75.h @@ -55,6 +55,13 @@ #if COMPILER_C99 #define lm75_read(...) PP_CAT(lm75_read ## _, COUNT_PARMS(__VA_ARGS__)) (__VA_ARGS__) #else + /** + * Read temperature from LM75 sensor. + * + * \note: Do not call this function faster than once every ~200ms, otherwise + * the sensor will not have time to perform conversions and will + * always return the same temperature value. + */ #define lm75_read(args...) PP_CAT(lm75_read ## _, COUNT_PARMS(args)) (args) #endif -- 2.25.1