doxygen: add groups for all modules

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Brendan Le Foll 2014-09-22 16:37:36 +01:00
parent e7a32b9882
commit befba8c18d
41 changed files with 202 additions and 37 deletions

View File

@ -4,8 +4,11 @@
<navindex>
<tab type="mainpage" visible="yes" title=""/>
<tab type="pages" visible="yes" title="" intro=""/>
<tab type="modules" visible="yes" title="" intro=""/>
<tab type="namespaces" visible="yes" title="">
<tab type="modules" visible="yes" title="UPM libraries" intro="Here is a
list of UPM libraries that can be used. Note that each of the classes
listed in these libraries are completely seperate so you will need to link
against all those that you have used in your program"/> <tab
type="namespaces" visible="yes" title="">
<tab type="namespacelist" visible="yes" title="" intro=""/>
<tab type="namespacemembers" visible="yes" title="" intro=""/>
</tab>

View File

@ -36,13 +36,18 @@
namespace upm {
/**
* @brief Buzzer library
* @defgroup buzzer libupm-buzzer
*/
/**
* @brief C++ API for Buzzer component
*
* This file defines the Buzzer C++ interface for libbuzzer
*
* @ingroup buzzer
* @snippet buzzer-sound.cxx Interesting
*
*/
class Buzzer {
public:

View File

@ -41,9 +41,15 @@ namespace upm {
#define TRUE HIGH
#define FALSE LOW
/**
* @brief ECS1030 electricity sensor library
* @defgroup ecs1030 libupm-ecs1030
*/
/**
* @brief C++ API for ECS1030 (electricity sensor)
*
* @ingroup ecs1030
* @snippet ecs1030.cxx Interesting
*/

View File

@ -36,9 +36,8 @@ struct thresholdContext {
namespace upm {
/**
* @brief C++ API for Gas sensors
*
* This file defines the Gas Analog sensors virtual functions
* @brief gas sensor library
* @defgroup gas libupm-gas
*/
class Gas {
public:

View File

@ -36,6 +36,7 @@ namespace upm {
* Hydrogen, smoke and other combustible gases. It's a medium sensitivity
* sensor with a detect concentration of 300-10000ppm.
*
* @ingroup gas
* @snippet mq2-example.cxx Interesting
* @image html grovegas.jpeg
*/

View File

@ -36,6 +36,7 @@ namespace upm {
* highly sensitive but has a long warmup time of about 1minute. It's
* detect rate is of 0.04-4mg/L Alcohol.
*
* @ingroup gas
* @snippet mq3-example.cxx Interesting
* @image html grovegas.jpeg
*/

View File

@ -36,6 +36,7 @@ namespace upm {
* on. It is highly sensitive and has a detection concentration of
* 300-10000ppm.
*
* @ingroup gas
* @snippet mq5-example.cxx Interesting
* @image html grovegas.jpeg
*/

View File

@ -35,6 +35,7 @@ namespace upm {
* home and industry). It can detect Carbon Monoxide, Coal Gas and
* Liquefied Gas. It's sensitivty is 10-1000ppmCO 100-10000PPm Gas.
*
* @ingroup gas
* @snippet mq9-example.cxx Interesting
* @image html mq9.jpeg
*/

View File

@ -29,6 +29,10 @@
namespace upm {
/**
* @brief library for basic grove sensors
* @defgroup grove libupm-grove
*/
class Grove {
public:
virtual ~Grove() {}
@ -45,6 +49,7 @@ class Grove {
*
* Very basic UPM module for grove LED, or any LED for that matter
*
* @ingroup grove
* @snippet groveled.cxx Interesting
*/
class GroveLed: public Grove {
@ -63,6 +68,7 @@ class GroveLed: public Grove {
*
* Very basic UPM module for grove temperature sensor on analog
*
* @ingroup grove
* @snippet grovetemp.cxx Interesting
*/
class GroveTemp: public Grove {
@ -90,6 +96,7 @@ class GroveTemp: public Grove {
*
* Very basic UPM module for grove Light sensor on analog
*
* @ingroup grove
* @snippet grovelight.cxx Interesting
*/
class GroveLight: public Grove {

View File

@ -60,6 +60,11 @@
namespace upm {
/**
* @brief GY65 & BPM085 atmospheric pressure sensor library
* @defgroup gy65 libupm-gy65
*/
/**
* @brief C++ API for GY65/BMP085 chip (Atmospheric Pressure Sensor)
*
@ -68,6 +73,7 @@ namespace upm {
* is a high precision, ultra-low power consumption pressure sensor. It has a
* range of between 30,000 and 110,000 Pa.
*
* @ingroup gy65
* @snippet gy65.cxx Interesting
* @image html bmp085.jpeg
*/

View File

@ -3,9 +3,8 @@
%include "stdint.i"
%feature("autodoc", "3");
%include "gy65.h"
%{
#include "gy65.h"
%}

View File

@ -1,4 +1,4 @@
/*
/*
* Author: Yevgeniy Kiveisha <yevgeniy.kiveisha@intel.com>
* Copyright (c) 2014 Intel Corporation.
*
@ -37,13 +37,18 @@
namespace upm {
/**
* @brief HCSR04 ultrasonic sensor library
* @defgroup hcsr04 libupm-hcsr04
*/
/**
* @brief C++ API for HCSR04 (ultrasonic ranging module) component
*
* This file defines the HCSR04 C++ interface for libhcsr04
*
* @ingroup hcsr04
* @snippet hcsr04.cxx Interesting
*
*/
class HCSR04 {
public:

View File

@ -29,6 +29,11 @@
namespace upm {
/**
* @brief HMC5883l magnometer library
* @defgroup hmc5883l libupm-hmc5883l
*/
/**
* @brief C++ API for HMC5883l (3-axis digital compass)
*
@ -38,10 +43,10 @@ namespace upm {
* all done through an I2C interface. Different breakout boards are available,
* typically a 3V supply is all that is needed to power the sensor.
*
* @ingroup hmc5883l
* @snippet hmc5883l.cxx Interesting
* @image html hmc5883l.jpeg
*/
class Hmc5883l {
public:
/**

View File

@ -29,6 +29,11 @@
namespace upm {
/**
* @brief Analog Joystick library
* @defgroup joystick libupm-joystick
*/
/**
* @brief C++ API for Elecfreaks Joystick v 1.2-1.4 breakout
*
@ -36,8 +41,8 @@ namespace upm {
* button could be treated as normal GPIO, this enables easier
* interrupt support
*
* @ingroup joystick
* @snippet joystick12-example.cxx Interesting
*
*/
class Joystick12 {
public:

View File

@ -72,6 +72,10 @@ namespace upm {
#define LCD_RW 0x02 // Read/Write bit
#define LCD_RS 0x01 // Register select bit
/**
* @brief i2c LCD display library
* @defgroup i2clcd libupm-i2clcd
*/
class I2CLcd {
public:
I2CLcd (int bus, int lcdAddress);

View File

@ -38,6 +38,7 @@ namespace upm {
* [Grove LCD RGB Backlight v2.0 display]
* (http://www.seeedstudio.com/depot/Grove-LCD-RGB-Backlight-p-1643.html?cPath=34_36)
*
* @ingroup i2clcd
* @snippet rgb-lcd.cxx Interesting
* @image html grovergblcd.jpeg
*/

View File

@ -42,6 +42,7 @@ namespace upm {
* [TC1602A-01T](https://www.adafruit.com/datasheets/TC1602A-01T.pdf) seems to
* the best documented example.
*
* @ingroup i2clcd
* @snippet lcm-lcd.cxx Interesting
* @image html lcm1602.jpeg
*/

View File

@ -155,6 +155,7 @@ typedef enum {
* (http://www.seeedstudio.com/wiki/Grove_-_OLED_Display_0.96%22)
* which is an OLED monochrome display
*
* @ingroup i2clcd
* @snippet oled-1308.cxx Interesting
* @image html ssd1308.jpeg
*/

View File

@ -155,6 +155,7 @@ typedef enum {
* (http://www.seeedstudio.com/wiki/Grove_-_OLED_Display_1.12%22)
* which is an OLED monochrome display
*
* @ingroup i2clcd
* @snippet oled-1327.cxx Interesting
* @image html ssd1327.jpeg
*/

View File

@ -32,14 +32,19 @@ namespace upm {
#define LOL_X 14
#define LOL_Y 9
/**
* @brief Olimex LoL array library
* @defgroup lol libupm-lol
*/
/**
* @brief C++ API for Olimex LoL array
*
* This file defines the LoL API and implemntation for
* a simple framebuffer
* This file defines the LoL API and implemntation for a simple framebuffer
*
* @ingroup lol
* @snippet lol-example.cxx Interesting
*
*/
class LoL {
public:

View File

@ -33,11 +33,17 @@
namespace upm {
/**
* @brief FastPixel lpd8806 library
* @defgroup lpd8806 libupm-lpd8806
*/
/**
* @brief C++ API for LPD8806
*
* The FastPixel lpd8806 is an RGB led strip controller.
*
* @ingroup lpd8806
* @snippet lpd8806-example.cxx Interesting
* @image html lpd8806.jpeg
*/

View File

@ -60,6 +60,11 @@ namespace upm {
#define Z 1
#define Y 2
/**
* @brief LSM303 accelerometer/compass library
* @defgroup lsm303 libupm-lsm303
*/
/**
* @brief C++ API for LSM303
*
@ -69,6 +74,7 @@ namespace upm {
* module that is used over i2c. The magnometer and acceleromter are accessed
* at two seperate i2c addresses.
*
* @ingroup lsm303
* @snippet lsm303.cxx Interesting
* @image html lsm303.jpeg
*/

View File

@ -33,6 +33,11 @@
namespace upm {
/**
* @brief max31723 temperature sensor library
* @defgroup max31723 libupm-max31723
*/
/**
* @brief C++ API for MAX31723 chip (Temperature sensor)
*
@ -43,6 +48,7 @@ namespace upm {
* module](http://datasheets.maximintegrated.com/en/ds/MAX31723PMB1.pdf) from
* the analog PMOD kit.
*
* @ingroup max31723
* @snippet max31723.cxx Interesting
* @image html max31723.jpeg
*/

View File

@ -29,6 +29,11 @@
namespace upm {
/**
* @brief max31855 thermocouple library
* @defgroup max31855 libupm-max31855
*/
/**
* @brief C++ API for MAX31855
*
@ -40,6 +45,7 @@ namespace upm {
* (http://datasheets.maximintegrated.com/en/ds/MAX31855PMB1.pdf) from the
* analog PMOD kit.
*
* @ingroup max31855
* @snippet max31855.cxx Interesting
* @image html max31855.jpeg
*/

View File

@ -52,6 +52,11 @@
namespace upm {
/**
* @brief max44000 proxmity sensor library
* @defgroup max44000 libupm-max44000
*/
/**
* @brief C++ API for MAX44000 chip (Ambient and Infrared Proximity Sensor)
*

View File

@ -33,6 +33,11 @@
namespace upm {
/**
* @brief max5847 digital potentiometer library
* @defgroup max5847 libupm-max5847
*/
/**
* @brief C++ API for MAX5487 chip (SPI digital potentionmeter)
*
@ -43,6 +48,7 @@ namespace upm {
* PMOD module](http://datasheets.maximintegrated.com/en/ds/MAX5487PMB1.pdf)
* from the analog PMOD kit.
*
* @ingroup max5847
* @snippet max5487.cxx Interesting
* @image html max5487.jpeg
*/

View File

@ -62,11 +62,15 @@ struct Time3231 {
uint8_t weekDay;
};
/**
* @brief maxds3231m proximity sensor library
* @defgroup maxds3231m libupm-maxds3231m
*/
/**
* @brief C++ API for MAXDS3231M chip (Ambient and Infrared Proximity Sensor)
*
* This file defines the MAXDS3231M C++ interface for libmax44000
*
* @ingroup maxds3231m
*/
class MAXDS3231M {
public:

View File

@ -35,13 +35,18 @@ struct thresholdContext {
namespace upm {
/**
* @brief analog microphone library
* @defgroup mic libupm-mic
*/
/**
* @brief C++ API for Microphone
*
* This file defines the Microphone Analog sensor
*
* @ingroup mic
* @snippet mic-example.cxx Interesting
*
*/
class Microphone {
public:

View File

@ -52,11 +52,18 @@
namespace upm {
/**
* @brief mlx90614 temperature sensor library
* @defgroup mlx90614 libupm-mlx90614
*/
/**
* @brief C++ API for MLX90614
*
* This file defines the MLX90614 C++ interface for libmlx90614
*
* @ingroup mlx90641
* @snippet mlx90641.cxx Interesting
*/
class MLX90614 {
public:

View File

@ -149,13 +149,18 @@ union accelData {
#define BIT(n) (1<<n)
/**
* @brief mma7455 accelerometer library
* @defgroup mma7455 libupm-mma7455
*/
/**
* @brief C++ API for MMA7455 chip (accelerometer)
*
* This file defines the MMA7455 C++ interface for libmma7455
*
* @ingroup mma7455
* @snippet mma7455.cxx Interesting
*
*/
class MMA7455 {
public:

View File

@ -108,11 +108,17 @@ struct AxisData {
Vector3D data;
};
/**
* @brief mpu9150 sensor library
* @defgroup mpu9150 libupm-mpu9150
*/
/**
* @brief C++ API for MPU9150 chip (Accelrometer, Gyro and Magnometer Sensor)
*
* This file defines the MPU9150 C++ interface for libmpu9150
*
* @ingroup mpu9150
* @snippet mpu9150-example.cxx Interesting
*/
class MPU9150 {

View File

@ -37,11 +37,17 @@
namespace upm {
/**
* @brief my9221 led bar library
* @defgroup my9221 libupm-9221
*/
/**
* @brief C++ API for MY9221 led bar module
*
* This file defines the MY9221 C++ interface for libmy9221
*
* @ingroup my9221
* @snippet led-bar.cxx Interesting
*/
class MY9221 {

View File

@ -150,11 +150,17 @@ typedef enum {
NRF_18DBM = 3,
} power_t;
/**
* @brief nrf24l01 transceiver library
* @defgroup nrf24l01 libupm-nrf24l01
*/
/**
* @brief C++ API for NRF24l01 transceiver module
*
* This file defines the NRF24l01 C++ interface for libnrf24l01
*
* @ingroup nrf24l01
* @snippet nrf_receiver.cxx Interesting
* @snippet nrf_transmitter.cxx Interesting
*/

View File

@ -33,8 +33,8 @@ namespace upm {
*
* This file defines the ES08A C++ interface for libes08a
*
* @ingroup servo
* @snippet es08a.cxx Interesting
*
*/
class ES08A : public Servo {
public:

View File

@ -36,10 +36,8 @@ namespace upm {
#define LOW 0
/**
* @brief Base class for other servo components
*
* PMOD pins for MAX44000PMB1 board
*
* @brief servo libraries
* @defgroup servo libupm-servo
*/
class Servo {
public:

View File

@ -40,10 +40,17 @@
namespace upm {
/**
* @brief sm130 rfid module library
* @defgroup sm130 libupm-sm130
*/
/**
* @brief C++ API for SM130 RFID reader module
*
* This file defines the SM130 C++ interface for libsm130
*
* @ingroup sm130
*/
class SM130 {

View File

@ -493,11 +493,17 @@ const unsigned char font[] = {
0x00, 0x00, 0x00, 0x00, 0x00
};
/**
* @brief st7735 lcd display library
* @defgroup st7735 libupm-st7735
*/
/**
* @brief C++ API for ST7735 SPI LCD module
*
* This file defines the ST7735 C++ interface for libst7735
*
* @ingroup st7735
* @snippet st7735.cxx Interesting
*/
class ST7735 : public GFX {

View File

@ -41,11 +41,17 @@
namespace upm {
/**
* @brief Stepper motor library
* @defgroup stepper libupm-stepper
*/
/**
* @brief C++ API for StepMotor Drivers
*
* This file defines the stepmotor C++ interface for libstepmotor
*
* @ingroup stepmotor
* @snippet stepmotor.cxx Interesting
*/
class StepMotor {

View File

@ -104,11 +104,17 @@ typedef struct {
uint16_t clr;
} tcs3414sc_rgb_t;
/**
* @brief tcs3414cs color sensor library
* @defgroup tcs3414cs libupm-tcs3414cs
*/
/**
* @brief C++ API for TCS3414CS chip (Color sensor)
*
* This file defines the TCS3414CS C++ interface for libtcs3414cs
*
* @snippet tcs3414cs-example.cxx Interesting
*/
class TCS3414CS {
public:

View File

@ -49,13 +49,18 @@
namespace upm {
/**
* @brief th02 temperature & humidity sensor library
* @defgroup th02 libupm-th02
*/
/**
* @brief C++ API for TH02 chip (Temperature and Humidity Sensor Pro)
*
* This file defines the TH02 C++ interface for libth02
*
* @ingroup th02
* @snippet th02-example.cxx Interesting
*
*/
class TH02 {
public:

View File

@ -46,11 +46,17 @@
namespace upm {
/**
* @brief tm1637 7-segment screen library
* @defgroup tm1637 libupm-tm1637
*/
/**
* @brief C++ API for Seven segments screen
*
* This file defines the TM1637 C++ interface for lib4digitdisplay
*
* @ingroup tm1637
* @snippet 4digitdisplay.cxx Interesting
*
* A