文件名称:capture
-
所属分类:
- 标签属性:
- 上传时间:2015-07-18
-
文件大小:2.89kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
本次实验,使用TIM4产生一个1K的频率输出,用TIM1进行捕获。并测出频率计算
TIM1 的时基单元配置:关于TIM1的时基设置问题前文已经讨论过了。这里只有一点需要明确的,就是为了尽量减少更新事件,将TIM_Period设置到最大即0xFFFF。定时器时钟设置成2M,这样定时器的更新频率就是30Hz,不会造成两次捕获之间产生多次更新。-his experiment, using the TIM4 produce a 1 k frequency output, using TIM1 capture.And the measured frequency calculation
The TIM1 time base unit configuration: about the TIM1 time base set the problem mentioned above has been discussed.There is only thing need to clear is to minimize the update events, set TIM_Period to 0 XFFFF namely.The timer clock is set to 2 m, so that the update frequency of the timer is 30 hz, not cause between capture generates multiple updates.
TIM1 的时基单元配置:关于TIM1的时基设置问题前文已经讨论过了。这里只有一点需要明确的,就是为了尽量减少更新事件,将TIM_Period设置到最大即0xFFFF。定时器时钟设置成2M,这样定时器的更新频率就是30Hz,不会造成两次捕获之间产生多次更新。-his experiment, using the TIM4 produce a 1 k frequency output, using TIM1 capture.And the measured frequency calculation
The TIM1 time base unit configuration: about the TIM1 time base set the problem mentioned above has been discussed.There is only thing need to clear is to minimize the update events, set TIM_Period to 0 XFFFF namely.The timer clock is set to 2 m, so that the update frequency of the timer is 30 hz, not cause between capture generates multiple updates.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
capture.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.