ADC

所属分类:单片机开发
开发工具:C++
文件大小:438KB
下载次数:6
上传日期:2010-10-19 16:28:41
上 传 者feel2008
说明:  ARM CORTEX M3 STM32V100单片机程序,数模转换相关
(ARM CORTEX M3 STM32V100 SCM process, digital-analog conversion-related)

文件列表:
ADC\listing\ADC.map (77647, 2008-10-13)
ADC\listing\cortexm3_macro.lst (24892, 2008-10-13)
ADC\listing\stm32f10x_vector.lst (30893, 2008-10-13)
ADC\obj\ADC.axf (130120, 2008-10-13)
ADC\obj\ADC.htm (76070, 2008-10-13)
ADC\obj\ADC.lnp (589, 2008-10-13)
ADC\obj\ADC.plg (739, 2008-10-13)
ADC\obj\ADC.sct (479, 2008-07-24)
ADC\obj\ADC.tra (1945, 2008-10-13)
ADC\obj\CAN.plg (180, 2008-07-24)
ADC\obj\cortexm3_macro.o (2336, 2008-10-13)
ADC\obj\main.crf (66407, 2008-10-13)
ADC\obj\main.d (824, 2008-10-13)
ADC\obj\main.o (75356, 2008-10-13)
ADC\obj\stm32f10x_adc.crf (41584, 2008-10-13)
ADC\obj\stm32f10x_adc.d (408, 2008-10-13)
ADC\obj\stm32f10x_adc.o (51980, 2008-10-13)
ADC\obj\stm32f10x_can.crf (36649, 2008-07-24)
ADC\obj\stm32f10x_can.d (408, 2008-07-24)
ADC\obj\stm32f10x_dma.crf (32613, 2008-10-13)
ADC\obj\stm32f10x_dma.d (408, 2008-10-13)
ADC\obj\stm32f10x_dma.o (39684, 2008-10-13)
ADC\obj\stm32f10x_flash.crf (19308, 2008-10-13)
ADC\obj\stm32f10x_flash.d (365, 2008-10-13)
ADC\obj\stm32f10x_flash.o (24144, 2008-10-13)
ADC\obj\stm32f10x_gpio.crf (34171, 2008-10-13)
ADC\obj\stm32f10x_gpio.d (417, 2008-10-13)
ADC\obj\stm32f10x_gpio.o (42104, 2008-10-13)
ADC\obj\stm32f10x_it.crf (62468, 2008-10-13)
ADC\obj\stm32f10x_it.d (954, 2008-10-13)
ADC\obj\stm32f10x_it.o (78856, 2008-10-13)
ADC\obj\stm32f10x_lib.crf (60173, 2008-10-13)
ADC\obj\stm32f10x_lib.d (950, 2008-10-13)
ADC\obj\stm32f10x_lib.o (67796, 2008-10-13)
ADC\obj\stm32f10x_nvic.crf (28666, 2008-10-13)
ADC\obj\stm32f10x_nvic.d (357, 2008-10-13)
ADC\obj\stm32f10x_nvic.o (39544, 2008-10-13)
ADC\obj\stm32f10x_rcc.crf (33277, 2008-10-13)
ADC\obj\stm32f10x_rcc.d (349, 2008-10-13)
ADC\obj\stm32f10x_rcc.o (41096, 2008-10-13)
... ...

/******************** (C) COPYRIGHT 2007 STMicroelectronics ******************** * File Name : readme.txt * Author : MCD Application Team * Date First Issued : 02/05/2007 * Description : Description of the ADC Example1. ******************************************************************************** * History: * 05/21/2007: V0.3 * 04/02/2007: V0.2 * 02/05/2007: V0.1 ******************************************************************************** * THE PRESENT SOFTWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. * AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT, * INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE * CONTENT OF SUCH SOFTWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING * INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. *******************************************************************************/ Example description =================== This example describes how to use the ADC and DMA to transfer continuously converted data from ADC to a data buffer. The ADC is configured to converts continuously ADC channel14. Each time an end of conversion occurs the DMA transfers, in circular mode, the converted data from ADC1 DR register to the ADC_ConvertedValue variable. The ADC1 clock is set to 14 MHz. Directory contents ================== stm32f10x_conf.h Library Configuration file stm32f10x_it.c Interrupt handlers stm32f10x_it.h Interrupt handlers header file uart.c Uart1 initial main.c Main program Hardware environment ==================== - Connect a variable power supply 0-3.3V to ADC Channel14 mapped on pin PC.04 (potentiometer RV1 on STM32F10x-EVAL board) How to use it ============= In order to make the program work, you must do the following : - Create a project and setup all your toolchain's start-up files - Compile the directory content files and required Library files : + stm32f10x_lib.c + stm32f10x_adc.c + stm32f10x_dma.c + stm32f10x_gpio.c + stm32f10x_rcc.c + stm32f10x_nvic.c + stm32f10x_flash.c + stm32f10x_systick.c + stm32f10x_usart.c - Link all compiled files and load your image into either RAM or FLASH - Run the example ******************* (C) COPYRIGHT 2007 STMicroelectronics *****END OF FILE******

近期下载者

相关文件


收藏者