文件名称:Widthcapture
介绍说明--下载内容来自于网络,使用问题请自行百度
利用P2.0输出的时钟信号ACLK来模拟外部的脉冲电平,利用捕获/比较器1来
进行脉冲宽度测量,这里利用的是子系统SMCLK时钟来作为计数的。
测量脉冲宽度计算公式:[overflow*65535+(end-start)]*SMclk(周期)
MCLK:8MHz SCLK:1MHz ACLK:32768Hz/8
待测信号:1/[32768/8(分频)]*(1/2)=高电平时间
参考信号测量:(end-start)]*SMclk(1/1M)=122/10^6
描述:将P2.0引脚与P1.2引脚相连(The output clock signal ACLK is used to simulate the external pulse level, using the capture / comparator 1 to P2.0
Pulse width measurement, where the subsystem SMCLK clock is used as a count.
The formula of measuring pulse width is [overflow*65535+ (end-start)]*SMclk (cycle)
MCLK:8MHz SCLK:1MHz ACLK:32768Hz/8
The sensing signal (frequency: 1/[32768/8)]* (1/2) = high level time
Reference signal measurement: (end-start)]*SMclk (1/1M) =122/10^6
Descr iption: connect the P2.0 pin to the P1.2 pin)
进行脉冲宽度测量,这里利用的是子系统SMCLK时钟来作为计数的。
测量脉冲宽度计算公式:[overflow*65535+(end-start)]*SMclk(周期)
MCLK:8MHz SCLK:1MHz ACLK:32768Hz/8
待测信号:1/[32768/8(分频)]*(1/2)=高电平时间
参考信号测量:(end-start)]*SMclk(1/1M)=122/10^6
描述:将P2.0引脚与P1.2引脚相连(The output clock signal ACLK is used to simulate the external pulse level, using the capture / comparator 1 to P2.0
Pulse width measurement, where the subsystem SMCLK clock is used as a count.
The formula of measuring pulse width is [overflow*65535+ (end-start)]*SMclk (cycle)
MCLK:8MHz SCLK:1MHz ACLK:32768Hz/8
The sensing signal (frequency: 1/[32768/8)]* (1/2) = high level time
Reference signal measurement: (end-start)]*SMclk (1/1M) =122/10^6
Descr iption: connect the P2.0 pin to the P1.2 pin)
相关搜索: msp430
Widthcapture
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Widthcapture
Widthcapture\12864.c
Widthcapture\12864.h
Widthcapture\Debug
Widthcapture\Debug\Exe
Widthcapture\Debug\Exe\lh.d43
Widthcapture\Debug\Exe\lh2.d43
Widthcapture\Debug\Exe\Widthcapture.d43
Widthcapture\Debug\List
Widthcapture\Debug\Obj
Widthcapture\Debug\Obj\12864.pbi
Widthcapture\Debug\Obj\12864.r43
Widthcapture\Debug\Obj\adc12.r43
Widthcapture\Debug\Obj\delay.pbi
Widthcapture\Debug\Obj\delay.r43
Widthcapture\Debug\Obj\key44.r43
Widthcapture\Debug\Obj\lh.pbd
Widthcapture\Debug\Obj\lh2.pbd
Widthcapture\Debug\Obj\main.r43
Widthcapture\Debug\Obj\pwm_timeb.r43
Widthcapture\Debug\Obj\Width measurement.pbi
Widthcapture\Debug\Obj\Width measurement.r43
Widthcapture\Debug\Obj\Widthcapture.pbd
Widthcapture\delay.c
Widthcapture\delay.h
Widthcapture\path.txt
Widthcapture\settings
Widthcapture\settings\lh.cspy.bat
Widthcapture\settings\lh.dbgdt
Widthcapture\settings\lh.dni
Widthcapture\settings\lh.wsdt
Widthcapture\settings\lh2.cspy.bat
Widthcapture\settings\lh2.dbgdt
Widthcapture\settings\lh2.dni
Widthcapture\settings\lh2.wsdt
Widthcapture\settings\picture12864.wsdt
Widthcapture\settings\Widthcapture.cspy.bat
Widthcapture\settings\Widthcapture.dbgdt
Widthcapture\settings\Widthcapture.dni
Widthcapture\settings\Widthcapture.wsdt
Widthcapture\Width measurement.c
Widthcapture\Widthcapture.dep
Widthcapture\Widthcapture.ewd
Widthcapture\Widthcapture.ewp
Widthcapture\Widthcapture.eww
Widthcapture\12864.c
Widthcapture\12864.h
Widthcapture\Debug
Widthcapture\Debug\Exe
Widthcapture\Debug\Exe\lh.d43
Widthcapture\Debug\Exe\lh2.d43
Widthcapture\Debug\Exe\Widthcapture.d43
Widthcapture\Debug\List
Widthcapture\Debug\Obj
Widthcapture\Debug\Obj\12864.pbi
Widthcapture\Debug\Obj\12864.r43
Widthcapture\Debug\Obj\adc12.r43
Widthcapture\Debug\Obj\delay.pbi
Widthcapture\Debug\Obj\delay.r43
Widthcapture\Debug\Obj\key44.r43
Widthcapture\Debug\Obj\lh.pbd
Widthcapture\Debug\Obj\lh2.pbd
Widthcapture\Debug\Obj\main.r43
Widthcapture\Debug\Obj\pwm_timeb.r43
Widthcapture\Debug\Obj\Width measurement.pbi
Widthcapture\Debug\Obj\Width measurement.r43
Widthcapture\Debug\Obj\Widthcapture.pbd
Widthcapture\delay.c
Widthcapture\delay.h
Widthcapture\path.txt
Widthcapture\settings
Widthcapture\settings\lh.cspy.bat
Widthcapture\settings\lh.dbgdt
Widthcapture\settings\lh.dni
Widthcapture\settings\lh.wsdt
Widthcapture\settings\lh2.cspy.bat
Widthcapture\settings\lh2.dbgdt
Widthcapture\settings\lh2.dni
Widthcapture\settings\lh2.wsdt
Widthcapture\settings\picture12864.wsdt
Widthcapture\settings\Widthcapture.cspy.bat
Widthcapture\settings\Widthcapture.dbgdt
Widthcapture\settings\Widthcapture.dni
Widthcapture\settings\Widthcapture.wsdt
Widthcapture\Width measurement.c
Widthcapture\Widthcapture.dep
Widthcapture\Widthcapture.ewd
Widthcapture\Widthcapture.ewp
Widthcapture\Widthcapture.eww
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.