文件名称:Tstm32_adch
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:4kb
-
已下载:1次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
此程序是基于STM32的AD应用程序,我们在这里设置ADC为连续转换模式,常规转换序列中有两路转换通道,分别是ADC_CH10(PC0)和ADC_CH16(片内温度传感器)。因为使用了自动多通道转换,,数据的取出工作最适合使用DMA方式取出,so,我们在内存里开辟了一个u16 AD_Value[2]数组,并设置了相应的DMA模块,使ADC在每个通道转换结束后启动DMA传输,其缓冲区数据量为2个Hal
-This procedure is based on the STM32 AD application, we are here to set the ADC continuous conversion mode, the conventional conversion sequence, two-way conversion channel, respectively ADC_CH10 (PC0) and ADC_CH16 (on-chip temperature sensor). Conversion because of the use of automatic multi-channel data removal is the most suitable for use DMA mode to remove, so opened up a u16 AD_Value [2] array in memory, and set the DMA module, so that the ADC on each channel start DMA transfer after the end of conversion, its buffer the amount of data for a Hal
-This procedure is based on the STM32 AD application, we are here to set the ADC continuous conversion mode, the conventional conversion sequence, two-way conversion channel, respectively ADC_CH10 (PC0) and ADC_CH16 (on-chip temperature sensor). Conversion because of the use of automatic multi-channel data removal is the most suitable for use DMA mode to remove, so opened up a u16 AD_Value [2] array in memory, and set the DMA module, so that the ADC on each channel start DMA transfer after the end of conversion, its buffer the amount of data for a Hal
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Tstm32_adch/stm32_adc.c
Tstm32_adch
Tstm32_adch
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.