文件名称:example5_ADC
介绍说明--下载内容来自于网络,使用问题请自行百度
本例展示了如何使用双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
使用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
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
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.