文件名称: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.
战舰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
.................\....