cCheckStm32SysTick

所属分类:单片机开发
开发工具:C/C++
文件大小:720KB
下载次数:1
上传日期:2016-01-11 11:18:36
上 传 者快乐的猫
说明:  c语言对stm32单片机,执行系统时钟的检查代码,测试通过
(STM32 language on the c microcontroller, the implementation of the system clock check code, test ok)

文件列表:
c检查stm32的SysTick (0, 2016-01-11)
c检查stm32的SysTick\listing (0, 2016-01-11)
c检查stm32的SysTick\listing\STM32F10x.lst (30088, 2009-12-09)
c检查stm32的SysTick\listing\SysTick.map (72206, 2009-12-09)
c检查stm32的SysTick\main.c (8506, 2009-12-08)
c检查stm32的SysTick\main.h (1572, 2009-12-08)
c检查stm32的SysTick\output (0, 2016-01-11)
c检查stm32的SysTick\output\ExtDll.iex (19, 2009-12-08)
c检查stm32的SysTick\output\main.crf (148637, 2009-12-09)
c检查stm32的SysTick\output\main.d (1810, 2009-12-09)
c检查stm32的SysTick\output\main.o (174296, 2009-12-09)
c检查stm32的SysTick\output\STM32F10x.o (4772, 2009-12-09)
c检查stm32的SysTick\output\stm32f10x_it.crf (150921, 2009-12-09)
c检查stm32的SysTick\output\stm32f10x_it.d (2091, 2009-12-09)
c检查stm32的SysTick\output\stm32f10x_it.o (180360, 2009-12-09)
c检查stm32的SysTick\output\SysTick.axf (79012, 2009-12-09)
c检查stm32的SysTick\output\SysTick.hex (5337, 2009-12-09)
c检查stm32的SysTick\output\SysTick.htm (36471, 2009-12-09)
c检查stm32的SysTick\output\SysTick.lnp (345, 2009-12-09)
c检查stm32的SysTick\output\SysTick.plg (1080, 2009-12-09)
c检查stm32的SysTick\output\SysTick.sct (479, 2009-12-08)
c检查stm32的SysTick\output\SysTick.tra (1162, 2009-12-09)
c检查stm32的SysTick\platform_config.h (2234, 2008-09-23)
c检查stm32的SysTick\STM32F10x.s (8816, 2009-12-08)
c检查stm32的SysTick\STM32F10xR.LIB (1759306, 2009-01-29)
c检查stm32的SysTick\stm32f10x_conf.h (6311, 2008-09-23)
c检查stm32的SysTick\stm32f10x_it.c (22757, 2009-12-08)
c检查stm32的SysTick\stm32f10x_it.h (3842, 2008-09-23)
c检查stm32的SysTick\SysTick.Opt (3293, 2009-12-09)
c检查stm32的SysTick\SysTick.plg (155, 2009-12-08)
c检查stm32的SysTick\SysTick.Uv2 (2746, 2009-12-09)
c检查stm32的SysTick\SysTick_SysTick.dep (4228, 2009-12-09)
c检查stm32的SysTick\SysTick_Target 1.dep (245, 2009-12-08)

/******************** (C) COPYRIGHT 2008 STMicroelectronics ******************** * File Name : readme.txt * Author : MCD Application Team * Version : V2.0.1 * Date : 06/13/2008 * Description : Description of the SysTick Example. ******************************************************************************** * 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. *******************************************************************************/ 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 GPIO_LED Pin 6, Pin 7, Pin 8 and Pin 9 are toggled with a timing defined by the Delay function. Directory contents ================== platform_config.h Evaluation board specific configuration file 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 ==================== This example runs on STMicroelectronics STM3210B-EVAL and STM3210E-EVAL evaluation boards and can be easily tailored to any other hardware. To select the STMicroelectronics evaluation board used to run the example, uncomment the corresponding line in platform_config.h file. + STM3210B-EVAL - Use LD1, LD2, LD3 and LD4 leds connected respectively to PC.06, PC.07, PC.08 and PC.09 pins + STM3210E-EVAL - Use LD1, LD2, LD3 and LD4 leds connected respectively to PF.06, PF0.7, PF.08 and PF.09 pins 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_nvic.c + stm32f10x_flash.c + stm32f10x_systick.c - Link all compiled files and load your image into target memory - Run the example ******************* (C) COPYRIGHT 2008 STMicroelectronics *****END OF FILE******

近期下载者

相关文件


收藏者