STM32_TIM1_PWM
所属分类:单片机开发
开发工具:C/C++
文件大小:3126KB
下载次数:77
上传日期:2012-11-25 16:27:59
上 传 者:
yaodong379
说明: STM32,利用TM1写的PWM一个完整的程序。
(STM32, using TM1 write the PWM program.)
文件列表:
TIM1_PWM (0, 2011-08-23)
TIM1_PWM\Libraries (0, 2011-08-23)
TIM1_PWM\Libraries\CMSIS (0, 2011-08-23)
TIM1_PWM\Libraries\CMSIS\CM3 (0, 2011-08-23)
TIM1_PWM\Libraries\CMSIS\CM3\CoreSupport (0, 2011-08-23)
TIM1_PWM\Libraries\CMSIS\CM3\CoreSupport\core_cm3.c (17273, 2010-10-18)
TIM1_PWM\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h (85714, 2010-10-18)
TIM1_PWM\Libraries\CMSIS\CM3\DeviceSupport (0, 2011-08-23)
TIM1_PWM\Libraries\CMSIS\CM3\DeviceSupport\ST (0, 2011-08-23)
TIM1_PWM\Libraries\CMSIS\CM3\DeviceSupport\ST\Release_Notes_for_STM32F10x_CMSIS.html (25107, 2010-10-18)
TIM1_PWM\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x (0, 2011-08-23)
TIM1_PWM\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup (0, 2011-08-25)
TIM1_PWM\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm (0, 2011-08-23)
TIM1_PWM\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_cl.s (15763, 2010-10-18)
TIM1_PWM\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_hd.s (15500, 2010-10-18)
TIM1_PWM\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_hd_vl.s (15767, 2010-10-18)
TIM1_PWM\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_ld.s (12373, 2010-10-18)
TIM1_PWM\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_ld_vl.s (13653, 2010-10-18)
TIM1_PWM\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_md.s (12762, 2010-10-18)
TIM1_PWM\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_md_vl.s (14070, 2010-10-18)
TIM1_PWM\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_xl.s (15952, 2010-10-18)
TIM1_PWM\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h (629762, 2010-10-18)
TIM1_PWM\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\system_stm32f10x.h (2068, 2010-10-18)
TIM1_PWM\Libraries\CMSIS\CMSIS debug support.htm (9310, 2010-10-18)
TIM1_PWM\Libraries\CMSIS\CMSIS_changes.htm (12531, 2010-10-18)
TIM1_PWM\Libraries\CMSIS\Documentation (0, 2011-08-23)
TIM1_PWM\Libraries\CMSIS\Documentation\CMSIS_Core.htm (57004, 2010-10-18)
TIM1_PWM\Libraries\CMSIS\License.doc (39936, 2010-10-18)
TIM1_PWM\Libraries\STM32F10x_StdPeriph_Driver (0, 2011-08-23)
TIM1_PWM\Libraries\STM32F10x_StdPeriph_Driver\Release_Notes_for_STM32F10x_StdPeriph_Driver.html (25616, 2010-10-18)
TIM1_PWM\Libraries\STM32F10x_StdPeriph_Driver\inc (0, 2011-08-25)
TIM1_PWM\Libraries\STM32F10x_StdPeriph_Driver\inc\misc.h (8893, 2010-10-18)
TIM1_PWM\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_adc.h (21601, 2010-10-18)
TIM1_PWM\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_bkp.h (7466, 2010-10-18)
TIM1_PWM\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_gpio.h (20086, 2010-10-18)
TIM1_PWM\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_iwdg.h (3739, 2010-10-18)
TIM1_PWM\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_pwr.h (4294, 2010-10-18)
TIM1_PWM\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rcc.h (30363, 2010-10-18)
TIM1_PWM\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_tim.h (50787, 2010-10-18)
TIM1_PWM\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_usart.h (16459, 2010-10-18)
... ...
/**
@page mdkarm MDK-ARM Project Template
@verbatim
******************** (C) COPYRIGHT 2010 STMicroelectronics *******************
* @file readme.txt
* @author MCD Application Team
* @version V3.4.0
* @date 10/15/2010
* @brief This sub-directory contains all the user-modifiable files needed
* to create a new project linked with the STM32F10x Standard Peripheral
* Library and working with RealView MDK-ARM toolchain (Version 4.12 and later).
******************************************************************************
* THE PRESENT FIRMWARE 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 FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING
* INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
******************************************************************************
@endverbatim
@par Directory contents
- Project.Uv2/.Opt: A pre-configured project file with the provided library structure
that produces an executable image with MDK-ARM
@note the @subpage note file contains the needed steps to follow when using the
default startup file provided by MDK-ARM when creating new projects.
@par How to use it ?
- Open the Project.uvproj project
- In the build toolbar select the project config:
- STM32100B-EVAL: to configure the project for STM32 Medium-density Value
line devices
@note The needed define symbols for this config are already declared in the
preprocessor section: USE_STDPERIPH_DRIVER, STM32F10X_MD_VL, USE_STM32100B_EVAL
- STM3210C-EVAL: to configure the project for STM32 Connectivity line devices
@note The needed define symbols for this config are already declared in the
preprocessor section: USE_STDPERIPH_DRIVER, STM32F10X_CL, USE_STM3210C_EVAL
- STM3210B-EVAL: to configure the project for STM32 Medium-density devices
@note The needed define symbols for this config are already declared in the
preprocessor section: USE_STDPERIPH_DRIVER, STM32F10X_MD, USE_STM3210B_EVAL
- STM3210E-EVAL: to configure the project for STM32 High-density devices
@note The needed define symbols for this config are already declared in the
preprocessor section: USE_STDPERIPH_DRIVER, STM32F10X_HD, USE_STM3210E_EVAL
- STM3210E-EVAL_XL: to configure the project for STM32 XL-density devices
@note The needed define symbols for this config are already declared in the
preprocessor section: USE_STDPERIPH_DRIVER, STM32F10X_XL, USE_STM3210E_EVAL
- STM32100E-EVAL: to configure the project for STM32 High-density Value line devices
@note The needed define symbols for this config are already declared in the
preprocessor section: USE_STDPERIPH_DRIVER, STM32F10X_HD_VL, USE_STM32100E_EVAL
- Rebuild all files: Project->Rebuild all target files
- Load project image: Debug->Start/Stop Debug Session
- Run program: Debug->Run (F5)
@note
- Low-density Value line devices are STM32F100xx microcontrollers where the
Flash memory density ranges between 16 and 32 Kbytes.
- Low-density devices are STM32F101xx, STM32F102xx and STM32F103xx
microcontrollers where the Flash memory density ranges between 16 and 32 Kbytes.
- Medium-density Value line devices are STM32F100xx microcontrollers where
the Flash memory density ranges between *** and 128 Kbytes.
- Medium-density devices are STM32F101xx, STM32F102xx and STM32F103xx
microcontrollers where the Flash memory density ranges between *** and 128 Kbytes.
- High-density Value line devices are STM32F100xx microcontrollers where
the Flash memory density ranges between 256 and 512 Kbytes.
- High-density devices are STM32F101xx and STM32F103xx microcontrollers where
the Flash memory density ranges between 256 and 512 Kbytes.
- XL-density devices are STM32F101xx and STM32F103xx microcontrollers where
the Flash memory density ranges between 512 and 1024 Kbytes.
- Connectivity line devices are STM32F105xx and STM32F107xx microcontrollers.
*
© COPYRIGHT 2010 STMicroelectronics
*/
近期下载者:
相关文件:
收藏者: