aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32F1xx/adc_lld.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-08-28 08:53:14 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-08-28 08:53:14 +0000
commitd2e9a52cf6b2997b9b6320434ea296bde79b3727 (patch)
treee7017f554396ca52581b07dcaca59e6fe4aed355 /os/hal/platforms/STM32F1xx/adc_lld.h
parentfe0093f795b6c88db8f12e2f7e45e11355fc3340 (diff)
downloadChibiOS-d2e9a52cf6b2997b9b6320434ea296bde79b3727.tar.gz
ChibiOS-d2e9a52cf6b2997b9b6320434ea296bde79b3727.tar.bz2
ChibiOS-d2e9a52cf6b2997b9b6320434ea296bde79b3727.zip
New DMA helper driver for STM32F1xx and STM32L1xx.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3255 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32F1xx/adc_lld.h')
-rw-r--r--os/hal/platforms/STM32F1xx/adc_lld.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/os/hal/platforms/STM32F1xx/adc_lld.h b/os/hal/platforms/STM32F1xx/adc_lld.h
index ce93e60ed..43b16b738 100644
--- a/os/hal/platforms/STM32F1xx/adc_lld.h
+++ b/os/hal/platforms/STM32F1xx/adc_lld.h
@@ -268,13 +268,13 @@ struct ADCDriver {
*/
ADC_TypeDef *adc;
/**
- * @brief Pointer to the DMA registers block.
+ * @brief Pointer to associated SMA channel.
*/
- stm32_dma_channel_t *dmachp;
+ const stm32_dma_stream_t *dmastp;
/**
- * @brief DMA CCR register bit mask.
+ * @brief DMA mode bit mask.
*/
- uint32_t dmaccr;
+ uint32_t dmamode;
};
/*===========================================================================*/