From fdfd900d9707de137c87258c7b83882a25dc4697 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Wed, 26 Dec 2012 09:07:31 +0000 Subject: [PATCH] Fixed typo. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4974 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32F0xx/adc_lld.h | 2 +- os/hal/platforms/STM32F1xx/adc_lld.h | 2 +- os/hal/platforms/STM32F3xx/adc_lld.h | 10 +++++++--- os/hal/platforms/STM32F4xx/adc_lld.h | 2 +- os/hal/platforms/STM32L1xx/adc_lld.h | 2 +- 5 files changed, 11 insertions(+), 7 deletions(-) diff --git a/os/hal/platforms/STM32F0xx/adc_lld.h b/os/hal/platforms/STM32F0xx/adc_lld.h index f51b60716..785cb9bb8 100644 --- a/os/hal/platforms/STM32F0xx/adc_lld.h +++ b/os/hal/platforms/STM32F0xx/adc_lld.h @@ -289,7 +289,7 @@ struct ADCDriver { */ ADC_TypeDef *adc; /** - * @brief Pointer to associated SMA channel. + * @brief Pointer to associated DMA channel. */ const stm32_dma_stream_t *dmastp; /** diff --git a/os/hal/platforms/STM32F1xx/adc_lld.h b/os/hal/platforms/STM32F1xx/adc_lld.h index 9f4227e31..a0c40f3d3 100644 --- a/os/hal/platforms/STM32F1xx/adc_lld.h +++ b/os/hal/platforms/STM32F1xx/adc_lld.h @@ -301,7 +301,7 @@ struct ADCDriver { */ ADC_TypeDef *adc; /** - * @brief Pointer to associated SMA channel. + * @brief Pointer to associated DMA channel. */ const stm32_dma_stream_t *dmastp; /** diff --git a/os/hal/platforms/STM32F3xx/adc_lld.h b/os/hal/platforms/STM32F3xx/adc_lld.h index 3d2ee10f4..771f2a1f8 100644 --- a/os/hal/platforms/STM32F3xx/adc_lld.h +++ b/os/hal/platforms/STM32F3xx/adc_lld.h @@ -389,11 +389,15 @@ struct ADCDriver { #endif /* End of the mandatory fields.*/ /** - * @brief Pointer to the ADCx registers block. + * @brief Pointer to the master ADCx registers block. */ - ADC_TypeDef *adc; + ADC_TypeDef *adcm; /** - * @brief Pointer to associated SMA channel. + * @brief Pointer to the slave ADCx registers block. + */ + ADC_TypeDef *adc2; + /** + * @brief Pointer to associated DMA channel. */ const stm32_dma_stream_t *dmastp; /** diff --git a/os/hal/platforms/STM32F4xx/adc_lld.h b/os/hal/platforms/STM32F4xx/adc_lld.h index f54b20ecb..94d10e459 100644 --- a/os/hal/platforms/STM32F4xx/adc_lld.h +++ b/os/hal/platforms/STM32F4xx/adc_lld.h @@ -462,7 +462,7 @@ struct ADCDriver { */ ADC_TypeDef *adc; /** - * @brief Pointer to associated SMA channel. + * @brief Pointer to associated DMA channel. */ const stm32_dma_stream_t *dmastp; /** diff --git a/os/hal/platforms/STM32L1xx/adc_lld.h b/os/hal/platforms/STM32L1xx/adc_lld.h index 1ce9444ab..84901a7b4 100644 --- a/os/hal/platforms/STM32L1xx/adc_lld.h +++ b/os/hal/platforms/STM32L1xx/adc_lld.h @@ -368,7 +368,7 @@ struct ADCDriver { */ ADC_TypeDef *adc; /** - * @brief Pointer to associated SMA channel. + * @brief Pointer to associated DMA channel. */ const stm32_dma_stream_t *dmastp; /**