aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-05-23 02:32:54 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2011-05-23 02:33:34 -0400
commite9eaf9f0408dae44c90b97031ae4ab4cd9cfbf8e (patch)
treec757063ac4cc1ae77ee943742ca3b7404ff16f70
parent6e9378fea4267f8adb25632b118657036c1536a9 (diff)
downloadlibrambutan-e9eaf9f0408dae44c90b97031ae4ab4cd9cfbf8e.tar.gz
librambutan-e9eaf9f0408dae44c90b97031ae4ab4cd9cfbf8e.zip
adc: Moving ADC[123] Doxygen comments to definitions
-rw-r--r--libmaple/adc.c3
-rw-r--r--libmaple/adc.h3
2 files changed, 3 insertions, 3 deletions
diff --git a/libmaple/adc.c b/libmaple/adc.c
index 16ca8bc..843636d 100644
--- a/libmaple/adc.c
+++ b/libmaple/adc.c
@@ -43,12 +43,14 @@ adc_dev adc1 = {
.regs = ADC1_BASE,
.clk_id = RCC_ADC1
};
+/** ADC1 device. */
const adc_dev *ADC1 = &adc1;
adc_dev adc2 = {
.regs = ADC2_BASE,
.clk_id = RCC_ADC2
};
+/** ADC2 device. */
const adc_dev *ADC2 = &adc2;
#ifdef STM32_HIGH_DENSITY
@@ -56,6 +58,7 @@ adc_dev adc3 = {
.regs = ADC3_BASE,
.clk_id = RCC_ADC3
};
+/** ADC3 device. */
const adc_dev *ADC3 = &adc3;
#endif
diff --git a/libmaple/adc.h b/libmaple/adc.h
index 55a7dc4..41b2096 100644
--- a/libmaple/adc.h
+++ b/libmaple/adc.h
@@ -69,12 +69,9 @@ typedef struct adc_dev {
rcc_clk_id clk_id; /**< RCC clock information */
} adc_dev;
-/** ADC1 device. */
extern const adc_dev *ADC1;
-/** ADC2 device. */
extern const adc_dev *ADC2;
#ifdef STM32_HIGH_DENSITY
-/** ADC3 device. */
extern const adc_dev *ADC3;
#endif