diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2011-05-23 02:32:54 -0400 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2011-05-23 02:33:34 -0400 |
commit | e9eaf9f0408dae44c90b97031ae4ab4cd9cfbf8e (patch) | |
tree | c757063ac4cc1ae77ee943742ca3b7404ff16f70 | |
parent | 6e9378fea4267f8adb25632b118657036c1536a9 (diff) | |
download | librambutan-e9eaf9f0408dae44c90b97031ae4ab4cd9cfbf8e.tar.gz librambutan-e9eaf9f0408dae44c90b97031ae4ab4cd9cfbf8e.zip |
adc: Moving ADC[123] Doxygen comments to definitions
-rw-r--r-- | libmaple/adc.c | 3 | ||||
-rw-r--r-- | libmaple/adc.h | 3 |
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 |