文件名称:定时器输出PWM波测试工程实例
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:148.93kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
定时器输出PWM波测试工程实例
(1)通过对PWM占空比的调节,实现小灯的渐亮的功能,当占空比为100%时再从0%逐渐增加.PWM的周期一定要足够的快,否则其输出电压的波动范围很大,且测不出一个稳定的电压值,这样通过就观察不到小灯渐亮效果. 另外,在改变PWM的周期和占空比之前和之后要分别禁止和使用TPM1,否则改变不起作用.-The timer output PWM wave test works (1) small lights fade function, when the duty cycle of 100 and then gradually increased from 0 PWM duty cycle regulation PWM cycle must be sufficient fast, otherwise the fluctuation range of the output voltage is large, and a stable voltage value could not be determined, so by less than the small lights fade effect observed before changing the period and duty cycle of the PWM and after respectively prohibit use the TPM1, otherwise change does not work.
(1)通过对PWM占空比的调节,实现小灯的渐亮的功能,当占空比为100%时再从0%逐渐增加.PWM的周期一定要足够的快,否则其输出电压的波动范围很大,且测不出一个稳定的电压值,这样通过就观察不到小灯渐亮效果. 另外,在改变PWM的周期和占空比之前和之后要分别禁止和使用TPM1,否则改变不起作用.-The timer output PWM wave test works (1) small lights fade function, when the duty cycle of 100 and then gradually increased from 0 PWM duty cycle regulation PWM cycle must be sufficient fast, otherwise the fluctuation range of the output voltage is large, and a stable voltage value could not be determined, so by less than the small lights fade effect observed before changing the period and duty cycle of the PWM and after respectively prohibit use the TPM1, otherwise change does not work.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
10-PWM/bin/Project.abs
10-PWM/bin/Project.abs.s19
10-PWM/bin/Project.map
10-PWM/cmd/HCS08_OpenSourceBDM_Erase_Unsecure.cmd
10-PWM/cmd/HCS08_OpenSourceBDM_Postload.cmd
10-PWM/cmd/HCS08_OpenSourceBDM_Preload.cmd
10-PWM/cmd/HCS08_OpenSourceBDM_Reset.cmd
10-PWM/cmd/HCS08_OpenSourceBDM_Startup.cmd
10-PWM/C_Layout.hwl
10-PWM/Default.mem
10-PWM/HCS08_OpenSourceBDM.ini
10-PWM/prm/burner.bbl
10-PWM/prm/Project.prm
10-PWM/PWM.mcp
10-PWM/PWM_Data/CWSettingsWindows.stg
10-PWM/PWM_Data/PC-lint/TargetDataWindows.tdt
10-PWM/PWM_Data/PWM/ObjectCode/GeneralFun.c.o
10-PWM/PWM_Data/PWM/ObjectCode/isr.c.o
10-PWM/PWM_Data/PWM/ObjectCode/main.c.o
10-PWM/PWM_Data/PWM/ObjectCode/MC9S08DZ60.C.o
10-PWM/PWM_Data/PWM/ObjectCode/MCUInit.c.o
10-PWM/PWM_Data/PWM/ObjectCode/PWM.c.o
10-PWM/PWM_Data/PWM/ObjectCode/SCI.c.o
10-PWM/PWM_Data/PWM/ObjectCode/Start08.c.o
10-PWM/PWM_Data/PWM/TargetDataWindows.tdt
10-PWM/Sources/GeneralFun.c
10-PWM/Sources/GeneralFun.h
10-PWM/Sources/Includes.h
10-PWM/Sources/isr.c
10-PWM/Sources/isr.h
10-PWM/Sources/main.c
10-PWM/Sources/MCUInit.c
10-PWM/Sources/MCUInit.h
10-PWM/Sources/PWM.c
10-PWM/Sources/PWM.h
10-PWM/Sources/SCI.c
10-PWM/Sources/SCI.h
10-PWM/Sources/Start08.c
10-PWM/Sources/Type.h
10-PWM/Sources/工程说明.txt
10-PWM/PWM_Data/PWM/ObjectCode
10-PWM/PWM_Data/PC-lint
10-PWM/PWM_Data/PWM
10-PWM/bin
10-PWM/cmd
10-PWM/prm
10-PWM/PWM_Data
10-PWM/Sources
10-PWM
10-PWM/bin/Project.abs.s19
10-PWM/bin/Project.map
10-PWM/cmd/HCS08_OpenSourceBDM_Erase_Unsecure.cmd
10-PWM/cmd/HCS08_OpenSourceBDM_Postload.cmd
10-PWM/cmd/HCS08_OpenSourceBDM_Preload.cmd
10-PWM/cmd/HCS08_OpenSourceBDM_Reset.cmd
10-PWM/cmd/HCS08_OpenSourceBDM_Startup.cmd
10-PWM/C_Layout.hwl
10-PWM/Default.mem
10-PWM/HCS08_OpenSourceBDM.ini
10-PWM/prm/burner.bbl
10-PWM/prm/Project.prm
10-PWM/PWM.mcp
10-PWM/PWM_Data/CWSettingsWindows.stg
10-PWM/PWM_Data/PC-lint/TargetDataWindows.tdt
10-PWM/PWM_Data/PWM/ObjectCode/GeneralFun.c.o
10-PWM/PWM_Data/PWM/ObjectCode/isr.c.o
10-PWM/PWM_Data/PWM/ObjectCode/main.c.o
10-PWM/PWM_Data/PWM/ObjectCode/MC9S08DZ60.C.o
10-PWM/PWM_Data/PWM/ObjectCode/MCUInit.c.o
10-PWM/PWM_Data/PWM/ObjectCode/PWM.c.o
10-PWM/PWM_Data/PWM/ObjectCode/SCI.c.o
10-PWM/PWM_Data/PWM/ObjectCode/Start08.c.o
10-PWM/PWM_Data/PWM/TargetDataWindows.tdt
10-PWM/Sources/GeneralFun.c
10-PWM/Sources/GeneralFun.h
10-PWM/Sources/Includes.h
10-PWM/Sources/isr.c
10-PWM/Sources/isr.h
10-PWM/Sources/main.c
10-PWM/Sources/MCUInit.c
10-PWM/Sources/MCUInit.h
10-PWM/Sources/PWM.c
10-PWM/Sources/PWM.h
10-PWM/Sources/SCI.c
10-PWM/Sources/SCI.h
10-PWM/Sources/Start08.c
10-PWM/Sources/Type.h
10-PWM/Sources/工程说明.txt
10-PWM/PWM_Data/PWM/ObjectCode
10-PWM/PWM_Data/PC-lint
10-PWM/PWM_Data/PWM
10-PWM/bin
10-PWM/cmd
10-PWM/prm
10-PWM/PWM_Data
10-PWM/Sources
10-PWM
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.