Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Embeded-SCM Develop SCM
Title: example2_ADC Download
 Description: This example shows how to use advanced control timer (TIM1) to trigger analog-to-digital converter (ADC) and the use of automatic injected conversion function to trigger the injected conversion. The rising edge of a TIM1, the ADC input on channel 14 (ADCs Channel14) do a rules conversion, then the DMA will register ADC_DR1 data to the corresponding table in the memory. Enable automatic injected conversion, the ADC can automatically input on channel 11 (ADCs Channel11) after conversion of the channel 14 of the rules once injected into the conversion. Subsequently generate an ADC interrupt, and set the flag JEOC. Interrupt will be injected into the conversion results deposited ADC_InjectedConvertedValueTab. The whole process will be repeated 32 times, followed by disability TIM1, the ADC conversion will stop. Example 1, this example can be run on the in the STM3210B-the LK1, channel 14 to channel 10, channel 11 will remain unchanged. And two values ​ ​ in the results list (ADC_
 Downloaders recently: [More information of uploader pengfl2010]
 To Search:
File list (Check if you may need any files):
example2_ADC\App\bsp.c
............\...\bsp.h
............\...\lcd.c
............\...\lcd.h
............\...\main.c
............\...\stm32f10x_conf.h
............\...\stm32f10x_it.c
............\...\stm32f10x_it.h
............\FWLib\inc\cortexm3_macro.h
............\.....\...\stm32f10x_adc.h
............\.....\...\stm32f10x_bkp.h
............\.....\...\stm32f10x_can.h
............\.....\...\stm32f10x_dma.h
............\.....\...\stm32f10x_exti.h
............\.....\...\stm32f10x_flash.h
............\.....\...\stm32f10x_gpio.h
............\.....\...\stm32f10x_i2c.h
............\.....\...\stm32f10x_iwdg.h
............\.....\...\stm32f10x_lib.h
............\.....\...\stm32f10x_map.h
............\.....\...\stm32f10x_nvic.h
............\.....\...\stm32f10x_pwr.h
............\.....\...\stm32f10x_rcc.h
............\.....\...\stm32f10x_rtc.h
............\.....\...\stm32f10x_spi.h
............\.....\...\stm32f10x_systick.h
............\.....\...\stm32f10x_tim.h
............\.....\...\stm32f10x_tim1.h
............\.....\...\stm32f10x_type.h
............\.....\...\stm32f10x_usart.h
............\.....\...\stm32f10x_wwdg.h
............\.....\src\stm32f10x_adc.c
............\.....\...\stm32f10x_bkp.c
............\.....\...\stm32f10x_can.c
............\.....\...\stm32f10x_dma.c
............\.....\...\stm32f10x_exti.c
............\.....\...\stm32f10x_flash.c
............\.....\...\stm32f10x_gpio.c
............\.....\...\stm32f10x_i2c.c
............\.....\...\stm32f10x_iwdg.c
............\.....\...\stm32f10x_lib.c
............\.....\...\stm32f10x_nvic.c
............\.....\...\stm32f10x_pwr.c
............\.....\...\stm32f10x_rcc.c
............\.....\...\stm32f10x_rtc.c
............\.....\...\stm32f10x_spi.c
............\.....\...\stm32f10x_systick.c
............\.....\...\stm32f10x_tim.c
............\.....\...\stm32f10x_tim1.c
............\.....\...\stm32f10x_usart.c
............\.....\...\stm32f10x_wwdg.c
............\Project\cortexm3_macro.s
............\.......\Debug\Exe\example2_ADC.out
............\.......\.....\Obj\bsp.o
............\.......\.....\...\cortexm3_macro.o
............\.......\.....\...\example2_ADC.pbd
............\.......\.....\...\lcd.o
............\.......\.....\...\main.o
............\.......\.....\...\stm32f10x_adc.o
............\.......\.....\...\stm32f10x_dma.o
............\.......\.....\...\stm32f10x_flash.o
............\.......\.....\...\stm32f10x_gpio.o
............\.......\.....\...\stm32f10x_it.o
............\.......\.....\...\stm32f10x_lib.o
............\.......\.....\...\stm32f10x_nvic.o
............\.......\.....\...\stm32f10x_rcc.o
............\.......\.....\...\stm32f10x_tim.o
............\.......\.....\...\stm32f10x_tim1.o
............\.......\.....\...\stm32f10x_vector.o
............\.......\example2_ADC.dep
............\.......\example2_ADC.ewd
............\.......\example2_ADC.ewp
............\.......\example2_ADC.eww
............\.......\lnkarm_flash.xcl
............\.......\lnkarm_ram.xcl
............\.......\settings\example2_ADC.cspy.bat
............\.......\........\example2_ADC.dbgdt
............\.......\........\example2_ADC.dni
............\.......\........\example2_ADC.wsdt
............\.......\........\example2_ADC_Debug.jlink
............\.......\stm32f10x_flash.icf
............\.......\stm32f10x_ram.icf
............\.......\stm32f10x_vector.c
............\.......\Debug\Exe
............\.......\.....\List
............\.......\.....\Obj
............\FWLib\inc
............\.....\src
............\Project\Debug
............\.......\settings
............\App
............\FWLib
............\Project
example2_ADC
    

CodeBus www.codebus.net