From 7f30553a5172576185f35f3a72c3c59252707ee7 Mon Sep 17 00:00:00 2001 From: John Van Drasek Date: Fri, 20 Mar 2015 17:16:39 -0700 Subject: [PATCH] ta12200.h: adding doxygen tags Signed-off-by: John Van Drasek --- src/ta12200/ta12200.h | 41 +++++++++++++++++++++++++++++------------ 1 file changed, 29 insertions(+), 12 deletions(-) diff --git a/src/ta12200/ta12200.h b/src/ta12200/ta12200.h index 2cf39ca3..e96d8f78 100644 --- a/src/ta12200/ta12200.h +++ b/src/ta12200/ta12200.h @@ -33,18 +33,35 @@ #define TA12200_ADC_RES 1024 namespace upm { - - /** - * @brief C++ API for the TA12-200 current transformer - * - * UPM module for the TA12-200 current transformer, which is found, - * for instance, in the Grove Electricity Sensor. - * This module can measure AC current moving through a wire at up - * to 5A. - * - * @ingroup analog - * @snippet ta12200.cxx Interesting - */ +/** + * @brief C++ API for the TA12-200 current transformer + * + * UPM module for the TA12-200 current transformer, which is found, + * for instance, in the Grove Electricity Sensor. + * This module can measure AC current moving through a wire at up + * to 5A. + * + * @defgroup ta12200 libupm-ta12200 + * @ingroup seeed analog electric + */ +/** + * @library ta12200 + * @sensor ta12200 + * @comname Current transformer + * @type electric + * @man seeed + * @web http://www.seeedstudio.com/wiki/Grove_-_Electricity_Sensor + * @con analog + * + * @brief C++ API for the TA12-200 current transformer + * + * UPM module for the TA12-200 current transformer, which is found, + * for instance, in the Grove Electricity Sensor. + * This module can measure AC current moving through a wire at up + * to 5A. + * + * @snippet ta12200.cxx Interesting + */ class TA12200 { public: /**