fireball-key
所属分类:处理器开发
开发工具:C/C++
文件大小:1262KB
下载次数:4
上传日期:2011-02-28 16:52:29
上 传 者:
zhangxuanwei
说明: 红牛开发板的按键检测程序,想要的同学赶紧下了
(Red Bull development board of the key tests, the students got off the desired)
文件列表:
红牛按键检测程序 (0, 2011-01-21)
红牛按键检测程序\GPIO.opt.bak (4853, 2010-03-31)
红牛按键检测程序\GPIO.plg (160, 2009-07-07)
红牛按键检测程序\GPIO.Uv2.bak (4507, 2010-03-31)
红牛按键检测程序\GPIO.uvopt (73919, 2011-01-21)
红牛按键检测程序\GPIO.uvproj (20903, 2011-01-20)
红牛按键检测程序\GPIO_GPIO.dep (20621, 2011-01-21)
红牛按键检测程序\GPIO_Opt.Bak (4748, 2010-03-03)
红牛按键检测程序\GPIO_Target 1.dep (71, 2009-07-07)
红牛按键检测程序\GPIO_Uv2.Bak (4507, 2009-07-13)
红牛按键检测程序\GPIO_uvopt.bak (73740, 2011-01-21)
红牛按键检测程序\GPIO_uvproj.bak (20748, 2011-01-20)
红牛按键检测程序\JLinkLog.txt (59479, 2010-03-31)
红牛按键检测程序\List (0, 2011-01-20)
红牛按键检测程序\List\cortexm3_macro.lst (26566, 2011-01-21)
红牛按键检测程序\List\GPIO.map (74784, 2011-01-21)
红牛按键检测程序\List\stm32f10x_vector.lst (40189, 2011-01-21)
红牛按键检测程序\Obj (0, 2011-01-21)
红牛按键检测程序\Obj\cortexm3_macro.o (2440, 2011-01-21)
红牛按键检测程序\Obj\GPIO.axf (106928, 2011-01-21)
红牛按键检测程序\Obj\GPIO.htm (57878, 2011-01-21)
红牛按键检测程序\Obj\GPIO.lnp (924, 2011-01-21)
红牛按键检测程序\Obj\GPIO.plg (1161, 2011-01-21)
红牛按键检测程序\Obj\GPIO.sct (479, 2011-01-20)
红牛按键检测程序\Obj\GPIO.tra (3053, 2011-01-21)
红牛按键检测程序\Obj\main.crf (148953, 2011-01-21)
红牛按键检测程序\Obj\main.d (1770, 2011-01-21)
红牛按键检测程序\Obj\main.o (172952, 2011-01-21)
红牛按键检测程序\Obj\stm32f10x_adc.crf (50297, 2011-01-21)
红牛按键检测程序\Obj\stm32f10x_adc.d (474, 2011-01-21)
红牛按键检测程序\Obj\stm32f10x_adc.o (60400, 2011-01-21)
红牛按键检测程序\Obj\stm32f10x_bkp.crf (37577, 2011-01-21)
红牛按键检测程序\Obj\stm32f10x_bkp.d (474, 2011-01-21)
红牛按键检测程序\Obj\stm32f10x_bkp.o (43304, 2011-01-21)
红牛按键检测程序\Obj\stm32f10x_can.crf (48744, 2011-01-21)
红牛按键检测程序\Obj\stm32f10x_can.d (474, 2011-01-21)
红牛按键检测程序\Obj\stm32f10x_can.o (51512, 2011-01-21)
红牛按键检测程序\Obj\stm32f10x_crc.crf (26151, 2011-01-21)
红牛按键检测程序\Obj\stm32f10x_crc.d (405, 2011-01-21)
红牛按键检测程序\Obj\stm32f10x_crc.o (30108, 2011-01-21)
... ...
/******************** (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******
近期下载者:
相关文件:
收藏者: