From a6a405be314482bdbee779f9cfe2b3e0f0122632 Mon Sep 17 00:00:00 2001 From: John Van Drasek Date: Tue, 14 Apr 2015 14:54:56 -0700 Subject: [PATCH] mpl3115a2: Adding doxygen comments and a manufacturer to upm.h Signed-off-by: John Van Drasek --- src/mpl3115a2/mpl3115a2.h | 16 +++++++++++----- src/upm.h | 6 ++++++ 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/src/mpl3115a2/mpl3115a2.h b/src/mpl3115a2/mpl3115a2.h index bd448f6d..ba836602 100644 --- a/src/mpl3115a2/mpl3115a2.h +++ b/src/mpl3115a2/mpl3115a2.h @@ -56,11 +56,19 @@ namespace upm { /** - * @brief MPL3115A2 atmospheric pressure sensor library - * @defgroup mpl3115 libupm-mpl3115 + * @brief mpl3115a2 Atmospheric Pressure library + * @defgroup mpl3115a2 libupm-mpl3115a2 + * @ingroup freescale i2c pressure */ - /** + * @library libupm-mpl3115a2 + * @sensor mpl3115a2 + * @comname mpl3115a2 Atmospheric Pressure + * @type pressure + * @man freescale + * @web http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MPL3115A2 + * @con i2c + * * @brief C++ API for MPL3115A2 chip (Atmospheric Pressure Sensor) * * Freescale [MPL3115A2] @@ -68,9 +76,7 @@ namespace upm { * is a high precision, ultra-low power consumption pressure sensor. It has a * range of between 50 and 110 kPa. * - * @ingroup mpl3115a2 i2c * @snippet mpl3115a2.cxx Interesting - * @image html mpl3115a2.jpeg */ class MPL3115A2 { public: diff --git a/src/upm.h b/src/upm.h index 4cf2ee9e..7d17587c 100644 --- a/src/upm.h +++ b/src/upm.h @@ -296,6 +296,12 @@ * @ingroup byman */ +/** + * @brief Freescale + * @defgroup freescale Freescale + * @ingroup byman + */ + /** * @brief Generic brands * @defgroup generic Generic