LED-flash
所属分类:单片机开发
开发工具:C/C++
文件大小:475KB
下载次数:3
上传日期:2014-12-19 15:00:57
上 传 者:
sunnyeternally
说明: stm32f10x Led闪烁,请根据自己的开发板电路配置io口
(stm32f10x Led flash, please modify IO configuration according to your own circuit.)
文件列表:
LED灯闪烁\JLinkLog.txt (46243, 2012-07-31)
LED灯闪烁\JLinkSettings.ini (574, 2012-07-30)
LED灯闪烁\Lib\STM32F10xR.LIB (1759306, 2009-01-29)
LED灯闪烁\Lst\LED灯闪烁.map (93760, 2012-07-31)
LED灯闪烁\Lst\STM3210B-EVAL.map (93032, 2010-12-21)
LED灯闪烁\Lst\STM3210E-EVAL.map (93034, 2010-10-25)
LED灯闪烁\Lst\stm32f10x_vector.lst (37703, 2012-07-31)
LED灯闪烁\Lst\二进制加法.map (93442, 2010-12-21)
LED灯闪烁\main.c (4803, 2012-07-31)
LED灯闪烁\note.txt (1794, 2008-09-23)
LED灯闪烁\Obj\ExtDll.iex (19, 2012-07-31)
LED灯闪烁\Obj\LED灯闪烁.axf (93180, 2012-07-31)
LED灯闪烁\Obj\LED灯闪烁.hex (4662, 2012-07-31)
LED灯闪烁\Obj\LED灯闪烁.htm (44122, 2012-07-31)
LED灯闪烁\Obj\LED灯闪烁.lnp (333, 2012-07-31)
LED灯闪烁\Obj\LED灯闪烁.plg (192, 2012-08-01)
LED灯闪烁\Obj\LED灯闪烁.sct (479, 2010-12-21)
LED灯闪烁\Obj\LED灯闪烁.tra (1147, 2012-07-31)
LED灯闪烁\Obj\main.crf (148434, 2012-07-31)
LED灯闪烁\Obj\main.d (2143, 2012-07-31)
LED灯闪烁\Obj\main.o (175320, 2012-07-31)
LED灯闪烁\Obj\stm32f10x_it.crf (150830, 2012-07-31)
LED灯闪烁\Obj\stm32f10x_it.d (2421, 2012-07-31)
LED灯闪烁\Obj\stm32f10x_it.o (249860, 2012-07-31)
LED灯闪烁\Obj\stm32f10x_vector.d (46, 2012-07-31)
LED灯闪烁\Obj\stm32f10x_vector.o (5820, 2012-07-31)
LED灯闪烁\Obj\stm32f10x_vector._ia (260, 2012-07-31)
LED灯闪烁\platform_config.h (2234, 2010-10-17)
LED灯闪烁\Project.Opt (2691, 2012-08-01)
LED灯闪烁\Project.Uv2 (2696, 2012-07-31)
LED灯闪烁\Project_HC6800-EM3.dep (5321, 2012-08-01)
LED灯闪烁\Project_Opt.Bak (2691, 2012-08-01)
LED灯闪烁\Project_STM3210E-EVAL.dep (4392, 2010-11-03)
LED灯闪烁\Project_Uv2.Bak (2697, 2012-07-31)
LED灯闪烁\stm32f10x_conf.h (6304, 2008-09-23)
LED灯闪烁\stm32f10x_it.c (29218, 2008-09-23)
LED灯闪烁\stm32f10x_it.h (3842, 2008-09-23)
LED灯闪烁\stm32f10x_vector.s (12871, 2008-09-23)
LED灯闪烁\Lib (0, 2012-07-30)
... ...
/******************** (C) COPYRIGHT 2008 STMicroelectronics ********************
* File Name : readme.txt
* Author : MCD Application Team
* Version : V2.0.1
* Date : 06/13/2008
* Description : Description of the GPIO IOToggle 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 describes how to use GPIO BSRR (Port bit set/reset register) and
BRR (Port bit reset register) for IO toggling.
These registers allow modifying only one or several GPIO pins in a single atomic
write access.
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
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
- Link all compiled files and load your image into target memory
- Run the example
******************* (C) COPYRIGHT 2008 STMicroelectronics *****END OF FILE******
近期下载者:
相关文件:
收藏者: