文件名称:TIM2-input-capture
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2016-02-15
- 文件大小:
- 268kb
- 下载次数:
- 0次
- 提 供 者:
- 石*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
使用STM8的TIM2输入补获功能测PWM的占空比和周期,把被测信号接到TIM1的CH1,当有PWM时进入中断更改触发边沿,即可以使用一个通道测量高电平和低电平的时间,得到占空比和周期-Use the STM8 TIM2 input capture function PWM duty cycle and period measurement, the measured signal received TIM1 of CH1, when a PWM into the interrupt trigger edge changes, which can use one channel measuring high and low time to give the duty cycle and period
(系统自动生成,下载前可以参看下载内容)
下载文件列表
TIM2输入捕获(使用1通道)
.......................\Debug
.......................\.....\Exe
.......................\.....\...\templproj.out
.......................\.....\List
.......................\.....\Obj
.......................\.....\...\main.o
.......................\.....\...\main.pbi
.......................\.....\...\main.pbi.cout
.......................\.....\...\TIM2输入捕获.pbd
.......................\.....\...\TIM2输入捕获.pbd.browse
.......................\main.c
.......................\settings
.......................\........\TIM2输入捕获.cspy.bat
.......................\........\TIM2输入捕获.dbgdt
.......................\........\TIM2输入捕获.dni
.......................\........\TIM2输入捕获.wsdt
.......................\TIM2输入捕获.dep
.......................\TIM2输入捕获.ewd
.......................\TIM2输入捕获.ewp
.......................\TIM2输入捕获.eww