/******************** (C) COPYRIGHT 2007 STMicroelectronics ********************
* File Name : readme.txt
* Author : MCD Application Team
* Date First Issued : 02/05/2007
* Description : Description of the GPIO Example.
********************************************************************************
* History:
* 05/21/2007: V0.3
* 04/02/2007: V0.2
* 02/05/2007: V0.1
********************************************************************************
* 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 provides a short description of how to use the JTAG IOs as standard
GPIOs and gives a configuration sequence.
Five leds connected to PA.13(JTMS/SWDAT), PA.14(JTCK/SWCLK), PA.15(JTDI), PB.03(JTDO)
and PB.04(JTRST) pins are toggled in an infinite loop.
Note that once the JTAG IOs are disabled, the connection with host debugger is lost
and can't be established again while the JTAG IOs are disabled.
To avoid such situation a pin, PB.09, connected to a push button is used to select
between disabling or not the JTAG IOs:
- push button pressed at reset: JTAG IOs disabled
- push button not pressed at reset: JTAG IOs not changed
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
Hardware environment
====================
- Connect four leds to pins PA.13, PA.14, PA.15, PB.03 and PB.04.
- Connect a push button to pin PB.09 (Key push button on STM32F10x-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_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******
没有合适的资源?快使用搜索试试~ 我知道了~
基于(英蓓特)STM32V100的GPIO程序
共109个文件
h:27个
c:26个
o:10个
需积分: 9 7 下载量 187 浏览量
2009-01-17
10:15:26
上传
评论
收藏 377KB RAR 举报
温馨提示
基于(英蓓特)STM32V100的GPIO程序
资源推荐
资源详情
资源评论
收起资源包目录
基于(英蓓特)STM32V100的GPIO程序 (109个子文件)
CAN.axf 73KB
CAN_Opt.Bak 4KB
CAN_Uv2.Bak 3KB
GPIO_Opt.Bak 3KB
GPIO_Uv2.Bak 3KB
CAN_sct.Bak 767B
stm32f10x_tim1.c 111KB
stm32f10x_tim.c 97KB
stm32f10x_adc.c 54KB
stm32f10x_i2c.c 44KB
stm32f10x_rcc.c 42KB
stm32f10x_usart.c 33KB
stm32f10x_can.c 32KB
stm32f10x_flash.c 31KB
stm32f10x_nvic.c 28KB
stm32f10x_spi.c 25KB
stm32f10x_dma.c 23KB
stm32f10x_it.c 22KB
stm32f10x_it.c 22KB
stm32f10x_gpio.c 21KB
stm32f10x_rtc.c 13KB
stm32f10x_pwr.c 11KB
stm32f10x_bkp.c 10KB
stm32f10x_exti.c 8KB
main.c 8KB
stm32f10x_wwdg.c 8KB
stm32f10x_systick.c 7KB
stm32f10x_lib.c 7KB
stm32f10x_iwdg.c 6KB
stm32f10x_vector.c 3KB
stm32f10x_vector.c 3KB
main.c 3KB
stm32f10x_can.crf 39KB
stm32f10x_it.crf 39KB
main.crf 38KB
stm32f10x_lib.crf 36KB
stm32f10x_gpio.crf 33KB
stm32f10x_rcc.crf 32KB
stm32f10x_nvic.crf 28KB
stm32f10x_flash.crf 19KB
stm32f10x_it.d 599B
stm32f10x_lib.d 589B
main.d 472B
stm32f10x_gpio.d 417B
stm32f10x_can.d 408B
stm32f10x_flash.d 365B
stm32f10x_nvic.d 357B
stm32f10x_rcc.d 349B
CAN_CAN.dep 5KB
GPIO_CAN.dep 5KB
stm32f10x_tim1.h 34KB
stm32f10x_tim.h 28KB
stm32f10x_map.h 20KB
stm32f10x_adc.h 16KB
stm32f10x_nvic.h 16KB
stm32f10x_i2c.h 15KB
stm32f10x_rcc.h 14KB
stm32f10x_gpio.h 12KB
stm32f10x_dma.h 12KB
stm32f10x_can.h 12KB
stm32f10x_usart.h 12KB
stm32f10x_flash.h 10KB
stm32f10x_spi.h 9KB
stm32f10x_exti.h 6KB
stm32f10x_conf.h 6KB
stm32f10x_conf.h 5KB
stm32f10x_pwr.h 4KB
stm32f10x_rtc.h 4KB
stm32f10x_iwdg.h 3KB
stm32f10x_bkp.h 3KB
stm32f10x_it.h 3KB
stm32f10x_it.h 3KB
stm32f10x_systick.h 3KB
stm32f10x_type.h 3KB
stm32f10x_lib.h 3KB
stm32f10x_wwdg.h 3KB
cortexm3_macro.h 2KB
CAN.htm 51KB
CAN.lnp 467B
stm32f10x_vector.lst 30KB
cortexm3_macro.lst 24KB
CAN.map 47KB
stm32f10x_it.o 53KB
main.o 46KB
stm32f10x_can.o 43KB
stm32f10x_lib.o 42KB
stm32f10x_gpio.o 41KB
stm32f10x_rcc.o 40KB
stm32f10x_nvic.o 39KB
stm32f10x_flash.o 24KB
stm32f10x_vector.o 5KB
cortexm3_macro.o 2KB
CAN.Opt 5KB
GPIO.Opt 3KB
CAN.plg 617B
CAN.plg 214B
cortexm3_macro.s 9KB
stm32f10x_vector.s 8KB
cortexm3_macro.s 7KB
cortexm3_macro.s 7KB
共 109 条
- 1
- 2
资源评论
lnasdxx
- 粉丝: 0
- 资源: 16
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功