/******************** (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******
没有合适的资源?快使用搜索试试~ 我知道了~
资源详情
资源评论
资源推荐
收起资源包目录
STM32.rar_STM32单片机_keil stm32_stm32 入门_单片机stm32 (230个子文件)
GPIO.axf 100KB
GPIO_uvopt.bak 147KB
GPIO_Uv2.Bak 4KB
GPIO_Uv2.Bak 3KB
GPIO.Uv2.bak 3KB
GPIO_Opt.Bak 3KB
GPIO.opt.bak 3KB
GPIO_Opt.Bak 3KB
stm32f10x_tim.c 128KB
stm32f10x_tim.c 128KB
stm32f10x_adc.c 57KB
stm32f10x_adc.c 57KB
stm32f10x_i2c.c 46KB
stm32f10x_i2c.c 46KB
stm32f10x_rcc.c 43KB
stm32f10x_rcc.c 43KB
stm32f10x_usart.c 42KB
stm32f10x_usart.c 42KB
stm32f10x_fsmc.c 41KB
stm32f10x_fsmc.c 41KB
stm32f10x_sdio.c 38KB
stm32f10x_sdio.c 38KB
stm32f10x_spi.c 34KB
stm32f10x_spi.c 34KB
stm32f10x_dma.c 33KB
stm32f10x_dma.c 33KB
stm32f10x_flash.c 32KB
stm32f10x_flash.c 32KB
stm32f10x_can.c 31KB
stm32f10x_can.c 31KB
stm32f10x_it.c 29KB
stm32f10x_it.c 29KB
stm32f10x_nvic.c 28KB
stm32f10x_nvic.c 28KB
stm32f10x_gpio.c 22KB
stm32f10x_gpio.c 22KB
stm32f10x_dac.c 17KB
stm32f10x_dac.c 17KB
stm32f10x_rtc.c 12KB
stm32f10x_rtc.c 12KB
stm32f10x_pwr.c 11KB
stm32f10x_pwr.c 11KB
stm32f10x_bkp.c 11KB
stm32f10x_bkp.c 11KB
stm32f10x_lib.c 9KB
stm32f10x_lib.c 9KB
stm32f10x_exti.c 9KB
stm32f10x_exti.c 9KB
main.c 8KB
main.c 8KB
stm32f10x_wwdg.c 8KB
stm32f10x_wwdg.c 8KB
stm32f10x_systick.c 7KB
stm32f10x_systick.c 7KB
stm32f10x_iwdg.c 6KB
stm32f10x_iwdg.c 6KB
stm32f10x_dbgmcu.c 5KB
stm32f10x_dbgmcu.c 5KB
stm32f10x_crc.c 5KB
stm32f10x_crc.c 5KB
main.crf 150KB
stm32f10x_it.crf 147KB
stm32f10x_lib.crf 144KB
stm32f10x_tim.crf 74KB
stm32f10x_adc.crf 49KB
stm32f10x_can.crf 48KB
stm32f10x_fsmc.crf 47KB
stm32f10x_i2c.crf 47KB
stm32f10x_sdio.crf 45KB
stm32f10x_usart.crf 45KB
stm32f10x_spi.crf 44KB
stm32f10x_dma.crf 42KB
stm32f10x_gpio.crf 42KB
stm32f10x_rcc.crf 40KB
stm32f10x_dac.crf 39KB
stm32f10x_flash.crf 38KB
stm32f10x_bkp.crf 37KB
stm32f10x_nvic.crf 36KB
stm32f10x_pwr.crf 36KB
stm32f10x_wwdg.crf 34KB
stm32f10x_exti.crf 28KB
stm32f10x_rtc.crf 28KB
stm32f10x_systick.crf 26KB
stm32f10x_iwdg.crf 26KB
stm32f10x_dbgmcu.crf 26KB
stm32f10x_crc.crf 26KB
stm32f10x_it.d 2KB
stm32f10x_lib.d 2KB
main.d 2KB
stm32f10x_usart.d 492B
stm32f10x_gpio.d 483B
stm32f10x_fsmc.d 483B
stm32f10x_wwdg.d 483B
stm32f10x_sdio.d 483B
stm32f10x_dma.d 474B
stm32f10x_i2c.d 474B
stm32f10x_pwr.d 474B
stm32f10x_dac.d 474B
stm32f10x_bkp.d 474B
stm32f10x_adc.d 474B
共 230 条
- 1
- 2
- 3
Kinonoyomeo
- 粉丝: 74
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0