/******************** (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******
没有合适的资源?快使用搜索试试~ 我知道了~
GPIO.rar_GPIO_stm32f103 hx_stm32f103zet pudn_stm32f103zet6_stm3
共67个文件
h:30个
c:26个
s:2个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 55 浏览量
2022-09-22
19:48:41
上传
评论
收藏 172KB RAR 举报
温馨提示
红牛开发板(STM32F103ZET6) GPIO示例程序,开发环境为MDK
资源详情
资源评论
资源推荐
收起资源包目录
GPIO.rar (67个子文件)
GPIO
GPIO_Uv2.Bak 4KB
GPIO_GPIO.dep 20KB
List
GPIO_Opt.Bak 5KB
JLinkLog.txt 57KB
GPIO_Target 1.dep 71B
GPIO.Uv2 4KB
Source
Startup
cortexm3_macro.s 10KB
stm32f10x_vector.s 13KB
main.c 8KB
stm32f10x_it.c 29KB
stm32f10x_conf.h 6KB
platform_config.h 2KB
FWLib
inc
stm32f10x_spi.h 13KB
stm32f10x_crc.h 2KB
stm32f10x_tim.h 46KB
stm32f10x_usart.h 14KB
stm32f10x_dma.h 18KB
stm32f10x_fsmc.h 19KB
stm32f10x_type.h 3KB
stm32f10x_i2c.h 16KB
stm32f10x_dac.h 9KB
stm32f10x_iwdg.h 3KB
stm32f10x_nvic.h 19KB
stm32f10x_systick.h 3KB
stm32f10x_map.h 28KB
stm32f10x_bkp.h 7KB
stm32f10x_pwr.h 4KB
stm32f10x_dbgmcu.h 3KB
stm32f10x_exti.h 6KB
stm32f10x_can.h 12KB
stm32f10x_adc.h 18KB
cortexm3_macro.h 2KB
stm32f10x_rcc.h 14KB
stm32f10x_rtc.h 4KB
stm32f10x_flash.h 14KB
stm32f10x_sdio.h 18KB
stm32f10x_lib.h 3KB
stm32f10x_wwdg.h 3KB
stm32f10x_gpio.h 14KB
src
stm32f10x_adc.c 57KB
stm32f10x_fsmc.c 41KB
stm32f10x_flash.c 32KB
stm32f10x_rcc.c 43KB
stm32f10x_wwdg.c 8KB
stm32f10x_tim.c 128KB
stm32f10x_iwdg.c 6KB
stm32f10x_gpio.c 22KB
stm32f10x_dbgmcu.c 5KB
stm32f10x_pwr.c 11KB
stm32f10x_crc.c 5KB
stm32f10x_lib.c 9KB
stm32f10x_dac.c 17KB
stm32f10x_sdio.c 38KB
stm32f10x_can.c 31KB
stm32f10x_bkp.c 11KB
stm32f10x_rtc.c 12KB
stm32f10x_systick.c 7KB
stm32f10x_usart.c 42KB
stm32f10x_i2c.c 46KB
stm32f10x_spi.c 34KB
stm32f10x_nvic.c 28KB
stm32f10x_exti.c 9KB
stm32f10x_dma.c 33KB
stm32f10x_it.h 4KB
readme.txt 3KB
GPIO.plg 160B
GPIO.Opt 5KB
Obj
共 67 条
- 1
weixin_42653672
- 粉丝: 93
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0