pinlvjishuqi

所属分类:单片机开发
开发工具:Visual C++
文件大小:10KB
下载次数:4
上传日期:2013-03-22 15:34:37
上 传 者Evanzxs
说明:  (1). 定时/计数器T0和T1的工作方式设置,由图可知,T0是工作在计数状态下,对输入的频率信号进行计数,但对工作在计数状态下的T0,最大计数值为fOSC/24,由于fOSC=12MHz,因此:T0的最大计数频率为250KHz。对于频率的概念就是在一秒只数脉冲的个数,即为频率值。所以T1工作在定时状态下,每定时1秒中到,就停止T0的计数,而从T0的计数单元中读取计数的数值,然后进行数据处理。送到数码管显示出来。 (2). T1工作在定时状态下,最大定时时间为65ms,达不到1秒的定时,所以采用定时50ms,共定时20次,即可完成1秒的定时功能。
(1).Timer/counters T0 and T1, the mode setting, the figure shows, T0 is the work count state, counting the frequency of the input signal, but to work under the count state T0, the maximum count value fOSC/24, duefOSC = 12MHz, therefore: T0 maximum count frequency of 250KHz. In one second only to the number of the number of pulses, the concept of frequency is the frequency value. T1 work under the regular state, each timing 1 seconds to stop the count of T0, the count value is read from T0 of the counting unit, and data processing. Sent to the digital display. (2). T1 work under the regular state, the maximum timing of 65ms, up to less than one second timing, so the use of the timing 50ms timing a total of 20 times, to complete one second timing functions.)

文件列表:
频率计程序\pin (2643, 2008-08-31)
频率计程序\pin.hex (2313, 2008-08-31)
频率计程序\pin.lnp (27, 2008-08-31)
频率计程序\pin.M51 (9483, 2008-08-31)
频率计程序\pin.Opt (961, 2011-05-14)
频率计程序\pin.plg (0, 2011-12-17)
频率计程序\pin.Uv2 (1651, 2008-08-31)
频率计程序\pinlvji.c (1660, 2008-05-03)
频率计程序\pinlvji.LST (3706, 2008-08-31)
频率计程序\pinlvji.OBJ (3169, 2008-08-31)
频率计程序\pin_Opt.Bak (961, 2009-05-01)
频率计程序 (0, 2011-12-31)

近期下载者

相关文件


收藏者