文件名称:LED

  • 所属分类:
  • 微处理器(ARM/PowerPC等)
  • 资源属性:
  • [C/C++] [源码]
  • 上传时间:
  • 2012-11-26
  • 文件大小:
  • 485kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • xuanf*****
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

1设计要求

PC6,PC7,PD6,PD13 LED快速交替闪烁。



2 硬件电路设计                          

在开发板上通用I/O口PC6,PC7,PD6,PD13作为控制D1,D2,D3,D4的控制线。



3软件程序设计

  根据设计任务要求,软件程序主要包括:

  (1)  配置GPIO口,将PC6,PC7,PD6,PD13配置为上拉输出模式。

  (2)  延时控制相应端口的置位和复位。



4 运行过程

(1)  使用Keil uVision3 通过JLINK仿真器连接开发板,打开实验例程目录下的.Uv2例程,编译链接工程;

(2) 下载后可看到PC6,PC7,PD6,PD13 LED快速交替闪烁。-1 design PC6, PC7, PD6, PD13 LED fast flash alternately. 2 hardware circuit board design in the development of general-purpose I/O port PC6, PC7, PD6, PD13 as the control D1, D2, D3, D4 of the control line. 3 software programming tasks according to design requirements, software programs, including: (1) configure the GPIO port, the PC6, PC7, PD6, PD13 is configured to pull output mode. (2) delay to control the corresponding port of the set and reset. 4 operation (1) Keil uVision3 JLINK emulator connection through the development board, open the test routine directory. Uv2 routines, build projects (2) After downloading you can see PC6, PC7, PD6, PD13 LED fast alternately flashing.


(系统自动生成,下载前可以参看下载内容)

下载文件列表

01 LED闪烁\FWlib\inc\misc.h

..........\.....\...\stm32f10x_adc.h

..........\.....\...\stm32f10x_bkp.h

..........\.....\...\stm32f10x_can.h

..........\.....\...\stm32f10x_conf.h

..........\.....\...\stm32f10x_crc.h

..........\.....\...\stm32f10x_dac.h

..........\.....\...\stm32f10x_dbgmcu.h

..........\.....\...\stm32f10x_dma.h

..........\.....\...\stm32f10x_exti.h

..........\.....\...\stm32f10x_flash.h

..........\.....\...\stm32f10x_fsmc.h

..........\.....\...\stm32f10x_gpio.h

..........\.....\...\stm32f10x_i2c.h

..........\.....\...\stm32f10x_iwdg.h

..........\.....\...\stm32f10x_pwr.h

..........\.....\...\stm32f10x_rcc.h

..........\.....\...\stm32f10x_rtc.h

..........\.....\...\stm32f10x_sdio.h

..........\.....\...\stm32f10x_spi.h

..........\.....\...\stm32f10x_tim.h

..........\.....\...\stm32f10x_usart.h

..........\.....\...\stm32f10x_wwdg.h

..........\.....\SRC\misc.c

..........\.....\...\stm32f10x_adc.c

..........\.....\...\stm32f10x_bkp.c

..........\.....\...\stm32f10x_can.c

..........\.....\...\stm32f10x_crc.c

..........\.....\...\stm32f10x_dac.c

..........\.....\...\stm32f10x_dbgmcu.c

..........\.....\...\stm32f10x_dma.c

..........\.....\...\stm32f10x_exti.c

..........\.....\...\stm32f10x_flash.c

..........\.....\...\stm32f10x_fsmc.c

..........\.....\...\stm32f10x_gpio.c

..........\.....\...\stm32f10x_i2c.c

..........\.....\...\stm32f10x_iwdg.c

..........\.....\...\stm32f10x_pwr.c

..........\.....\...\stm32f10x_rcc.c

..........\.....\...\stm32f10x_rtc.c

..........\.....\...\stm32f10x_sdio.c

..........\.....\...\stm32f10x_spi.c

..........\.....\...\stm32f10x_tim.c

..........\.....\...\stm32f10x_usart.c

..........\.....\...\stm32f10x_wwdg.c

..........\.....\...\system_stm32f10x.c

..........\JLink Regs CM3.txt

..........\JLinkArm_Target 1.ini

..........\JLinkLog.txt

..........\JLinkSettings.ini

..........\Obj\core_cm3.crf

..........\...\core_cm3.d

..........\...\core_cm3.o

..........\...\ExtDll.iex

..........\...\main.crf

..........\...\main.d

..........\...\main.o

..........\...\misc.crf

..........\...\misc.d

..........\...\misc.o

..........\...\startup_stm32f10x_hd.d

..........\...\startup_stm32f10x_hd.o

..........\...\STM32-FD-FLASHLED.axf

..........\...\STM32-FD-FLASHLED.hex

..........\...\STM32-FD-FLASHLED.htm

..........\...\STM32-FD-FLASHLED.lnp

..........\...\STM32-FD-FLASHLED.sct

..........\...\STM32-FD-FLASHLED.tra

..........\...\stm32f10x_gpio.crf

..........\...\stm32f10x_gpio.d

..........\...\stm32f10x_gpio.o

..........\...\stm32f10x_it.crf

..........\...\stm32f10x_it.d

..........\...\stm32f10x_it.o

..........\...\stm32f10x_rcc.crf

..........\...\stm32f10x_rcc.d

..........\...\stm32f10x_rcc.o

..........\...\system_stm32f10x.crf

..........\...\system_stm32f10x.d

..........\...\system_stm32f10x.o

..........\RAM.ini

..........\readme.txt

..........\startup\startup_stm32f10x_hd.s

..........\.......\startup_stm32f10x_ld.s

..........\.......\startup_stm32f10x_md.s

..........\startup_stm32f10x_hd.lst

..........\STM32-FD-FLASHLED.map

..........\stm32-fd-FlashLED.Opt

..........\stm32-fd-FlashLED.Uv2

..........\stm32-fd-FlashLED_Opt.Bak

..........\stm32-fd-FlashLED_Target 1.dep

..........\stm32-fd-FlashLED_Uv2.Bak

..........\STM32DBG.ini

..........\STM32F10x.s

..........\user\core_cm3.c

..........\....\core_cm3.h

..........\....\main.c

..........\....\platform_config.h

..........\....\stm32f10x.h

..........\....\stm32f10x_conf.h

相关说明

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

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org