CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 源码下载 嵌入式/单片机编程 单片机(51,AVR,MSP430等)

文件名称:example_GPIO

  • 所属分类:
  • 标签属性:
  • 上传时间:
    2012-11-16
  • 文件大小:
    277.55kb
  • 已下载:
    0次
  • 提 供 者:
  • 相关连接:
  • 下载说明:
    别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容来自于网络,使用问题请自行百度

本例展示了如何通过设置GPIO BSRR寄存器(Port bit set/reset registe)和GPIO BRR寄存器 (Port bit reset register)来翻转IO的状态。



通过设置这两个寄存器,可以利用单比特操作(single atomic write access)来改变一个或者几个IO端口的状态。



这个例子原本应用于STM32评估板(STM3210B-EVAL),为了使本例能在STM3210B-LK1上运行,应当把使用端口PC.06 – PC.09改为使用PC.04 – PC.07。-This example shows how to set the GPIO BSRR register (Port bit set/reset registe) and GPIO the BRR register (Port bit reset register) to flip the state of the IO. By setting these two registers, you can use a single-bit operations (single the atomic write access) to change the status of one or several IO ports. This example was originally used in the STM32 evaluation board (the STM3210B-EVAL), in order to make this case to run on in the STM3210B-the LK1 should use port PC.06- PC.09 used instead PC.04- PC.07.
(系统自动生成,下载前可以参看下载内容)

下载文件列表

example_GPIO/App/bsp.c
example_GPIO/App/bsp.h
example_GPIO/App/main.c
example_GPIO/App/stm32f10x_conf.h
example_GPIO/App/stm32f10x_it.c
example_GPIO/App/stm32f10x_it.h
example_GPIO/FWLib/inc/cortexm3_macro.h
example_GPIO/FWLib/inc/stm32f10x_adc.h
example_GPIO/FWLib/inc/stm32f10x_bkp.h
example_GPIO/FWLib/inc/stm32f10x_can.h
example_GPIO/FWLib/inc/stm32f10x_crc.h
example_GPIO/FWLib/inc/stm32f10x_dac.h
example_GPIO/FWLib/inc/stm32f10x_dbgmcu.h
example_GPIO/FWLib/inc/stm32f10x_dma.h
example_GPIO/FWLib/inc/stm32f10x_exti.h
example_GPIO/FWLib/inc/stm32f10x_flash.h
example_GPIO/FWLib/inc/stm32f10x_fsmc.h
example_GPIO/FWLib/inc/stm32f10x_gpio.h
example_GPIO/FWLib/inc/stm32f10x_i2c.h
example_GPIO/FWLib/inc/stm32f10x_iwdg.h
example_GPIO/FWLib/inc/stm32f10x_lib.h
example_GPIO/FWLib/inc/stm32f10x_map.h
example_GPIO/FWLib/inc/stm32f10x_nvic.h
example_GPIO/FWLib/inc/stm32f10x_pwr.h
example_GPIO/FWLib/inc/stm32f10x_rcc.h
example_GPIO/FWLib/inc/stm32f10x_rtc.h
example_GPIO/FWLib/inc/stm32f10x_sdio.h
example_GPIO/FWLib/inc/stm32f10x_spi.h
example_GPIO/FWLib/inc/stm32f10x_systick.h
example_GPIO/FWLib/inc/stm32f10x_tim.h
example_GPIO/FWLib/inc/stm32f10x_type.h
example_GPIO/FWLib/inc/stm32f10x_usart.h
example_GPIO/FWLib/inc/stm32f10x_wwdg.h
example_GPIO/FWLib/src/stm32f10x_adc.c
example_GPIO/FWLib/src/stm32f10x_bkp.c
example_GPIO/FWLib/src/stm32f10x_can.c
example_GPIO/FWLib/src/stm32f10x_crc.c
example_GPIO/FWLib/src/stm32f10x_dac.c
example_GPIO/FWLib/src/stm32f10x_dbgmcu.c
example_GPIO/FWLib/src/stm32f10x_dma.c
example_GPIO/FWLib/src/stm32f10x_exti.c
example_GPIO/FWLib/src/stm32f10x_flash.c
example_GPIO/FWLib/src/stm32f10x_fsmc.c
example_GPIO/FWLib/src/stm32f10x_gpio.c
example_GPIO/FWLib/src/stm32f10x_i2c.c
example_GPIO/FWLib/src/stm32f10x_iwdg.c
example_GPIO/FWLib/src/stm32f10x_lib.c
example_GPIO/FWLib/src/stm32f10x_nvic.c
example_GPIO/FWLib/src/stm32f10x_pwr.c
example_GPIO/FWLib/src/stm32f10x_rcc.c
example_GPIO/FWLib/src/stm32f10x_rtc.c
example_GPIO/FWLib/src/stm32f10x_sdio.c
example_GPIO/FWLib/src/stm32f10x_spi.c
example_GPIO/FWLib/src/stm32f10x_systick.c
example_GPIO/FWLib/src/stm32f10x_tim.c
example_GPIO/FWLib/src/stm32f10x_usart.c
example_GPIO/FWLib/src/stm32f10x_wwdg.c
example_GPIO/Project/cortexm3_macro.s
example_GPIO/Project/Debug/Exe/example_GPIO.out
example_GPIO/Project/Debug/Obj/bsp.o
example_GPIO/Project/Debug/Obj/cortexm3_macro.o
example_GPIO/Project/Debug/Obj/example_GPIO.pbd
example_GPIO/Project/Debug/Obj/stm32f10x_flash.o
example_GPIO/Project/Debug/Obj/stm32f10x_gpio.o
example_GPIO/Project/Debug/Obj/stm32f10x_it.o
example_GPIO/Project/Debug/Obj/stm32f10x_lib.o
example_GPIO/Project/Debug/Obj/stm32f10x_nvic.o
example_GPIO/Project/Debug/Obj/stm32f10x_rcc.o
example_GPIO/Project/Debug/Obj/stm32f10x_vector.o
example_GPIO/Project/example_GPIO.dep
example_GPIO/Project/example_GPIO.ewd
example_GPIO/Project/example_GPIO.ewp
example_GPIO/Project/example_GPIO.eww
example_GPIO/Project/lnkarm_flash.xcl
example_GPIO/Project/lnkarm_ram.xcl
example_GPIO/Project/settings/example_GPIO.cspy.bat
example_GPIO/Project/settings/example_GPIO.dbgdt
example_GPIO/Project/settings/example_GPIO.dni
example_GPIO/Project/settings/example_GPIO.wsdt
example_GPIO/Project/settings/example_GPIO_Debug.jlink
example_GPIO/Project/stm32f10x_flash.icf
example_GPIO/Project/stm32f10x_ram.icf
example_GPIO/Project/stm32f10x_vector.c
example_GPIO/Project/Debug/Exe
example_GPIO/Project/Debug/List
example_GPIO/Project/Debug/Obj
example_GPIO/FWLib/inc
example_GPIO/FWLib/src
example_GPIO/Project/Debug
example_GPIO/Project/settings
example_GPIO/App
example_GPIO/FWLib
example_GPIO/Project
example_GPIO

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 搜珍网是交换下载平台,只提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。更多...
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或换浏览器;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*快速评论: 推荐 一般 有密码 和说明不符 不是源码或资料 文件不全 不能解压 纯粹是垃圾
*内  容:
*验 证 码:
搜珍网 www.dssz.com