CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 源码下载 嵌入式/单片机编程 单片机(51,AVR,MSP430等)

文件名称:example5_ADC

  • 所属分类:
  • 标签属性:
  • 上传时间:
    2012-11-13
  • 文件大小:
    299.83kb
  • 已下载:
    0次
  • 提 供 者:
  • 相关连接:
  • 下载说明:
    别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容来自于网络,使用问题请自行百度

本例展示了如何使用双ADC对多路通道进行同时转化。



使用ADC1对通道14和通道17进行转化。使用ADC2对通道10和通道11进行转化。通道17与内部参考电压Vref相连。



一旦转换开始,ADC1和ADC2对对通道14和10的转换将同时开始,结果存于ADC1的32-bit DR寄存器内,其中高16bit为ADC2对通道10的转换结果,低16bit为ADC1对通道14的转换结果。之后由DMA把DR寄存器内的数据传送到内存中的ADC_DualConvertedValueTab表格。随后,ADC1和ADC2以及DMA会对通道17和通道11进行同样流程的转换和数据传送。



这样的转换-传送将会持续进行直到传送的数据数目达到DMA预设的上限。



对于STM3210B-LK1板,可以利用LCD把通道17上Vref的值,和通道10上分压器VR1上的电压值交替显示在屏幕上作为验证。-This example shows how to use the dual-ADC simultaneous conversion of multiple channels. Use ADC1 conversion on channel 14 and channel 17. Use ADC2 conversion on channel 10 and channel 11. Channel 17 and the internal reference voltage Vref is connected. ADC1 and ADC2 conversion channels 14 and 10 will start once the conversion is started, the result is stored in the ADC1 the 32-bit DR register, 16bit is the result of the conversion of ADC2 channel 10, including high, low 16bit ADC1 channel 14 The result of the conversion. After the DMA data transfer within the DR register to the memory of ADC_DualConvertedValueTab form. Subsequently, the ADC1 and ADC2 and DMA will channel 17 and channel 11, the same process of conversion and data transfer. Such a conversion- transfer will continue until the upper limit of the number of transmitted data DMA default. The LK1 STM3210B-board, can take advantage of the LCD voltage on the value of Vref in the channel 17 and channel 10 divider VR1 to alternat
(系统自动生成,下载前可以参看下载内容)

下载文件列表

example5_ADC/App/bsp.c
example5_ADC/App/bsp.h
example5_ADC/App/lcd.c
example5_ADC/App/lcd.h
example5_ADC/App/main.c
example5_ADC/App/stm32f10x_conf.h
example5_ADC/App/stm32f10x_it.c
example5_ADC/App/stm32f10x_it.h
example5_ADC/FWLib/inc/cortexm3_macro.h
example5_ADC/FWLib/inc/stm32f10x_adc.h
example5_ADC/FWLib/inc/stm32f10x_bkp.h
example5_ADC/FWLib/inc/stm32f10x_can.h
example5_ADC/FWLib/inc/stm32f10x_dma.h
example5_ADC/FWLib/inc/stm32f10x_exti.h
example5_ADC/FWLib/inc/stm32f10x_flash.h
example5_ADC/FWLib/inc/stm32f10x_gpio.h
example5_ADC/FWLib/inc/stm32f10x_i2c.h
example5_ADC/FWLib/inc/stm32f10x_iwdg.h
example5_ADC/FWLib/inc/stm32f10x_lib.h
example5_ADC/FWLib/inc/stm32f10x_map.h
example5_ADC/FWLib/inc/stm32f10x_nvic.h
example5_ADC/FWLib/inc/stm32f10x_pwr.h
example5_ADC/FWLib/inc/stm32f10x_rcc.h
example5_ADC/FWLib/inc/stm32f10x_rtc.h
example5_ADC/FWLib/inc/stm32f10x_spi.h
example5_ADC/FWLib/inc/stm32f10x_systick.h
example5_ADC/FWLib/inc/stm32f10x_tim.h
example5_ADC/FWLib/inc/stm32f10x_tim1.h
example5_ADC/FWLib/inc/stm32f10x_type.h
example5_ADC/FWLib/inc/stm32f10x_usart.h
example5_ADC/FWLib/inc/stm32f10x_wwdg.h
example5_ADC/FWLib/src/stm32f10x_adc.c
example5_ADC/FWLib/src/stm32f10x_bkp.c
example5_ADC/FWLib/src/stm32f10x_can.c
example5_ADC/FWLib/src/stm32f10x_crc.c
example5_ADC/FWLib/src/stm32f10x_dac.c
example5_ADC/FWLib/src/stm32f10x_dbgmcu.c
example5_ADC/FWLib/src/stm32f10x_dma.c
example5_ADC/FWLib/src/stm32f10x_exti.c
example5_ADC/FWLib/src/stm32f10x_flash.c
example5_ADC/FWLib/src/stm32f10x_fsmc.c
example5_ADC/FWLib/src/stm32f10x_gpio.c
example5_ADC/FWLib/src/stm32f10x_i2c.c
example5_ADC/FWLib/src/stm32f10x_iwdg.c
example5_ADC/FWLib/src/stm32f10x_lib.c
example5_ADC/FWLib/src/stm32f10x_nvic.c
example5_ADC/FWLib/src/stm32f10x_pwr.c
example5_ADC/FWLib/src/stm32f10x_rcc.c
example5_ADC/FWLib/src/stm32f10x_rtc.c
example5_ADC/FWLib/src/stm32f10x_sdio.c
example5_ADC/FWLib/src/stm32f10x_spi.c
example5_ADC/FWLib/src/stm32f10x_systick.c
example5_ADC/FWLib/src/stm32f10x_tim.c
example5_ADC/FWLib/src/stm32f10x_tim1.c
example5_ADC/FWLib/src/stm32f10x_usart.c
example5_ADC/FWLib/src/stm32f10x_wwdg.c
example5_ADC/Project/cortexm3_macro.s
example5_ADC/Project/Debug/Exe/example5_ADC.out
example5_ADC/Project/Debug/Obj/bsp.o
example5_ADC/Project/Debug/Obj/cortexm3_macro.o
example5_ADC/Project/Debug/Obj/example5_ADC.pbd
example5_ADC/Project/Debug/Obj/lcd.o
example5_ADC/Project/Debug/Obj/main.o
example5_ADC/Project/Debug/Obj/stm32f10x_adc.o
example5_ADC/Project/Debug/Obj/stm32f10x_dma.o
example5_ADC/Project/Debug/Obj/stm32f10x_exti.o
example5_ADC/Project/Debug/Obj/stm32f10x_flash.o
example5_ADC/Project/Debug/Obj/stm32f10x_gpio.o
example5_ADC/Project/Debug/Obj/stm32f10x_it.o
example5_ADC/Project/Debug/Obj/stm32f10x_lib.o
example5_ADC/Project/Debug/Obj/stm32f10x_nvic.o
example5_ADC/Project/Debug/Obj/stm32f10x_rcc.o
example5_ADC/Project/Debug/Obj/stm32f10x_tim.o
example5_ADC/Project/Debug/Obj/stm32f10x_vector.o
example5_ADC/Project/example5_ADC.dep
example5_ADC/Project/example5_ADC.ewd
example5_ADC/Project/example5_ADC.ewp
example5_ADC/Project/example5_ADC.eww
example5_ADC/Project/lnkarm_flash.xcl
example5_ADC/Project/lnkarm_ram.xcl
example5_ADC/Project/settings/example5_ADC.cspy.bat
example5_ADC/Project/settings/example5_ADC.dbgdt
example5_ADC/Project/settings/example5_ADC.dni
example5_ADC/Project/settings/example5_ADC.wsdt
example5_ADC/Project/settings/example5_ADC_Debug.jlink
example5_ADC/Project/stm32f10x_flash.icf
example5_ADC/Project/stm32f10x_ram.icf
example5_ADC/Project/stm32f10x_vector.c
example5_ADC/Project/Debug/Exe
example5_ADC/Project/Debug/List
example5_ADC/Project/Debug/Obj
example5_ADC/FWLib/inc
example5_ADC/FWLib/src
example5_ADC/Project/Debug
example5_ADC/Project/settings
example5_ADC/App
example5_ADC/FWLib
example5_ADC/Project
example5_ADC

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 搜珍网是交换下载平台,只提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。更多...
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或换浏览器;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*快速评论: 推荐 一般 有密码 和说明不符 不是源码或资料 文件不全 不能解压 纯粹是垃圾
*内  容:
*验 证 码:
搜珍网 www.dssz.com