|
@@ -48,6 +48,12 @@
|
48
|
48
|
#define ADC121C021_DEFAULT_VREF 3.0
|
49
|
49
|
|
50
|
50
|
namespace upm {
|
|
51
|
+ /**
|
|
52
|
+ * @brief ADC121C021 I2C Analog Digital Converter library
|
|
53
|
+ * @defgroup adc121c021 libupm-adc121c021
|
|
54
|
+ * @ingroup seeed i2c electric
|
|
55
|
+ */
|
|
56
|
+
|
51
|
57
|
|
52
|
58
|
/**
|
53
|
59
|
* valid cycle times for automatic conversion mode
|
|
@@ -64,13 +70,20 @@ namespace upm {
|
64
|
70
|
} ADC121C021_CYCLE_TIME_T;
|
65
|
71
|
|
66
|
72
|
/**
|
|
73
|
+ * @library adc121c021
|
|
74
|
+ * @sensor adc121c021
|
|
75
|
+ * @comname ADC121C021 Analog Digital Converter
|
|
76
|
+ * @type electric
|
|
77
|
+ * @man seeed
|
|
78
|
+ * @web http://www.seeedstudio.com/depot/Grove-I2C-ADC-p-1580.html
|
|
79
|
+ * @con i2c
|
|
80
|
+ *
|
67
|
81
|
* @brief C++ API for the ADC121C021 I2C ADC
|
68
|
82
|
*
|
69
|
83
|
* UPM module for the ADC121C021 12 bit Analog to Digital (ADC) converter.
|
70
|
84
|
* By providing a constant reference voltage, this sensor helps
|
71
|
85
|
* to increase the accuracy of a value collected from an analog sensor.
|
72
|
86
|
*
|
73
|
|
- * @ingroup i2c adc121c021
|
74
|
87
|
* @snippet adc121c021.cxx Interesting
|
75
|
88
|
*/
|
76
|
89
|
class ADC121C021 {
|