projectSYSCLOCKstm32

所属分类:处理器开发
开发工具:Others
文件大小:139KB
下载次数:4
上传日期:2012-04-13 19:34:03
上 传 者qqasong
说明:  STM32 SYSCLOCK编程实例,可以正常运行
(STM32 SYSCLOCK programming examples, can run normally)

文件列表:
projectSYSCLOCKstm32\EWARM\Backup of Project.ewd (31044, 2007-10-08)
projectSYSCLOCKstm32\EWARM\Backup of Project.ewp (46682, 2007-10-08)
projectSYSCLOCKstm32\EWARM\BOOT_FLASH\Exe\Project.d79 (95050, 2008-04-01)
projectSYSCLOCKstm32\EWARM\BOOT_FLASH\Exe\Project.sim (1793, 2008-04-01)
projectSYSCLOCKstm32\EWARM\BOOT_FLASH\Obj\cortexm3_macro.r79 (1872, 2008-04-01)
projectSYSCLOCKstm32\EWARM\BOOT_FLASH\Obj\main.r79 (10663, 2008-04-01)
projectSYSCLOCKstm32\EWARM\BOOT_FLASH\Obj\Project.pbd (1667, 2008-04-01)
projectSYSCLOCKstm32\EWARM\BOOT_FLASH\Obj\stm32f10x_flash.r79 (2735, 2008-04-01)
projectSYSCLOCKstm32\EWARM\BOOT_FLASH\Obj\stm32f10x_gpio.r79 (12112, 2008-04-01)
projectSYSCLOCKstm32\EWARM\BOOT_FLASH\Obj\stm32f10x_i2c.r79 (20916, 2008-04-01)
projectSYSCLOCKstm32\EWARM\BOOT_FLASH\Obj\stm32f10x_it.r79 (10364, 2008-04-01)
projectSYSCLOCKstm32\EWARM\BOOT_FLASH\Obj\stm32f10x_lib.r79 (1255, 2008-04-01)
projectSYSCLOCKstm32\EWARM\BOOT_FLASH\Obj\stm32f10x_nvic.r79 (15462, 2008-04-01)
projectSYSCLOCKstm32\EWARM\BOOT_FLASH\Obj\stm32f10x_rcc.r79 (17433, 2008-04-01)
projectSYSCLOCKstm32\EWARM\BOOT_FLASH\Obj\stm32f10x_spi.r79 (12964, 2008-04-01)
projectSYSCLOCKstm32\EWARM\BOOT_FLASH\Obj\stm32f10x_systick.r79 (4534, 2008-04-01)
projectSYSCLOCKstm32\EWARM\BOOT_FLASH\Obj\stm32f10x_tim.r79 (39869, 2008-04-01)
projectSYSCLOCKstm32\EWARM\BOOT_FLASH\Obj\stm32f10x_usart.r79 (16838, 2008-04-01)
projectSYSCLOCKstm32\EWARM\BOOT_FLASH\Obj\stm32f10x_vector.r79 (6352, 2008-04-01)
projectSYSCLOCKstm32\EWARM\cortexm3_macro.s (9356, 2007-10-08)
projectSYSCLOCKstm32\EWARM\lnkarm_flash.xcl (7677, 2007-10-08)
projectSYSCLOCKstm32\EWARM\lnkarm_ram.xcl (7656, 2007-10-08)
projectSYSCLOCKstm32\EWARM\Project.dep (20659, 2008-04-01)
projectSYSCLOCKstm32\EWARM\Project.ewd (31044, 2008-04-01)
projectSYSCLOCKstm32\EWARM\Project.ewp (45857, 2008-04-01)
projectSYSCLOCKstm32\EWARM\Project.eww (161, 2007-10-08)
projectSYSCLOCKstm32\EWARM\settings\Project.cspy.bat (2232, 2008-04-01)
projectSYSCLOCKstm32\EWARM\settings\Project.dbgdt (7973, 2008-04-01)
projectSYSCLOCKstm32\EWARM\settings\Project.dni (519, 2008-04-01)
projectSYSCLOCKstm32\EWARM\settings\Project.wsdt (5267, 2008-04-01)
projectSYSCLOCKstm32\EWARM\stm32f10x_vector.c (3415, 2007-10-08)
projectSYSCLOCKstm32\main.c (7389, 2008-04-01)
projectSYSCLOCKstm32\main.h (1603, 2007-10-08)
projectSYSCLOCKstm32\RIDE\cortexm3_macro.s (9720, 2007-10-08)
projectSYSCLOCKstm32\RIDE\Project.rapp (18410, 2007-10-08)
projectSYSCLOCKstm32\RIDE\Project.rprj (296, 2007-10-08)
projectSYSCLOCKstm32\RIDE\stm32f10x_vector.c (7084, 2007-10-08)
... ...

/******************** (C) COPYRIGHT 2007 STMicroelectronics ******************** * File Name : readme.txt * Author : MCD Application Team * Version : V1.0 * Date : 10/08/2007 * Description : Description of the SysTick Example. ******************************************************************************** * 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 shows how to configure the SysTick to generate a time base equal to 1 ms. The system clock is set to 72 MHz, the SysTick is clocked by the AHB clock (HCLK) divided by 8. A "Delay" function is implemented based on the SysTick end-of-count event. Four LEDs connected to the PC.06, PC.07, PC.08 and PC.09 pins are toggled with a timing defined by the Delay function. Directory contents ================== stm32f10x_conf.h Library Configuration file stm32f10x_it.c Interrupt handlers stm32f10x_it.h Header for stm32f10x_it.c main.c Main program main.h Header for main.c Hardware environment ==================== - Connect four leds to pins PC.06, PC.07, PC.08 and PC.09(respectively LD1, LD2, LD3 and LD4 on STM3210B-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_gpio.c + stm32f10x_rcc.c + stm32f10x_systick.c + stm32f10x_nvic.c + stm32f10x_flash.c - Link all compiled files and load your image into either RAM or Flash - Run the example ******************* (C) COPYRIGHT 2007 STMicroelectronics *****END OF FILE******

近期下载者

相关文件


收藏者