文件名称:PWM

  • 所属分类:
  • 单片机(51,AVR,MSP430等)
  • 资源属性:
  • [C/C++] [源码]
  • 上传时间:
  • 2015-09-24
  • 文件大小:
  • 2.34mb
  • 下载次数:
  • 0次
  • 提 供 者:
  • 吴**
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

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

实验器材:

  战舰STM32F103开发板V3版本

  

实验目的:

  学习定时器的PWM功能

  

硬件资源:

  1,DS0(连接在PB5)

  2,定时器3(TIM3),使用TIM3的通道2(CH2),开启部分重映射,将TIM3_CH2输出到PB5.

  从而实现PWM输出控制DS0亮度.

  

实验现象:

  本实验,DS0由暗到亮,再由亮到暗,再由暗到亮,依次循环.

  

注意事项:

  无.

-Experimental equipment: Battleship STM32F103 Development Board V3 version Purpose: Learning PWM timer function hardware resources: 1, DS0 (connected to PB5) 2, Timer 3 (TIM3), use TIM3 channel 2 (CH2), open portion of the heavy mapping, TIM3_CH2 output to PB5 to achieve PWM output brightness control DS0 experimental phenomena: this experiment, DS0 dark to light, and then light to dark, and then dark to light, followed by cycle Cautions: None.
(系统自动生成,下载前可以参看下载内容)

下载文件列表





实验9 PWM输出实验\CORE\core_cm3.c

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

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

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

.................\HARDWARE\KEY\key.c

.................\........\...\key.h

.................\........\LED\led.c

.................\........\...\led.h

.................\........\TIMER\timer.c

.................\........\.....\timer.h

.................\keilkilll.bat

.................\OBJ\core_cm3.crf

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

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

.................\...\delay.crf

.................\...\delay.d

.................\...\delay.o

.................\...\key.crf

.................\...\key.d

.................\...\key.o

.................\...\led.crf

.................\...\led.d

.................\...\led.o

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

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

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

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

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

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

.................\...\PWM.axf

.................\...\PWM.build_log.htm

.................\...\PWM.hex

.................\...\PWM.htm

.................\...\PWM.lnp

.................\...\PWM.sct

.................\...\PWM_PWM.dep

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

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

.................\...\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

.................\...\stm32f10x_tim.crf

.................\...\stm32f10x_tim.d

.................\...\stm32f10x_tim.o

.................\...\stm32f10x_usart.crf

.................\...\stm32f10x_usart.d

.................\...\stm32f10x_usart.o

.................\...\sys.crf

.................\...\sys.d

.................\...\sys.o

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

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

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

.................\...\timer.crf

.................\...\timer.d

.................\...\timer.o

.................\...\usart.crf

.................\...\usart.d

.................\...\usart.o

.................\README.TXT

.................\STM32F10x_FWLib\inc\misc.h

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

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

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

.................\...............\...\stm32f10x_cec.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_cec.c

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

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

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

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

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

.................\....

相关说明

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

相关评论

暂无评论内容.

发表评论

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

源码中国 www.ymcn.org