文件名称:Cymometer
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 2kb
- 下载次数:
- 0次
- 提 供 者:
- 王*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
低频频率计
实例目的:学习定时器、计数器、中断应用
说明:选用24MHz的晶体,主频可达2MHz。用T1产生100us的时标,T0作信号脉冲计数器。假设晶体频率没有误差,而且稳定不变(实际上可达万分之一);被测信号是周期性矩形波(正负脉冲宽度都不能小于0.5us),频率小于1MHz,大于1Hz。要求测量时标1S,测量精度为0.1%。-Examples of low-frequency frequency meter Objective: To study timer, counter, interrupt Application Note: optional 24MHz crystal, frequency up to 2MHz. 100us generated by the T1 time scale, T0 for the signal pulse counter. Assuming there is no crystal frequency error, and stable (in fact up to one ten thousandth) the measured signal is periodic rectangular wave (positive and negative pulse width can not be less than 0.5us), the frequency of less than 1MHz, greater than 1Hz. Requested measurement time scale 1S, measurement accuracy of 0.1.
实例目的:学习定时器、计数器、中断应用
说明:选用24MHz的晶体,主频可达2MHz。用T1产生100us的时标,T0作信号脉冲计数器。假设晶体频率没有误差,而且稳定不变(实际上可达万分之一);被测信号是周期性矩形波(正负脉冲宽度都不能小于0.5us),频率小于1MHz,大于1Hz。要求测量时标1S,测量精度为0.1%。-Examples of low-frequency frequency meter Objective: To study timer, counter, interrupt Application Note: optional 24MHz crystal, frequency up to 2MHz. 100us generated by the T1 time scale, T0 for the signal pulse counter. Assuming there is no crystal frequency error, and stable (in fact up to one ten thousandth) the measured signal is periodic rectangular wave (positive and negative pulse width can not be less than 0.5us), the frequency of less than 1MHz, greater than 1Hz. Requested measurement time scale 1S, measurement accuracy of 0.1.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
频率计.c