期刊文献+

基于PC机的实时时钟实现

Realization of the Real-time Clock Based on Personal Computer
下载PDF
导出
摘要 该文给出了基于PC机的实时时钟的具体实现方法。该方法利用晶体振荡器产生周期波,并根据实际需求来分频得到所需要的频率的脉冲,再利用得到的脉冲对CPU进行中断申请。这样即可把中断申请的次数转换成时间来实现时间的显示,使计时精确到0.1秒位。随着集成电路飞速的发展,该方法具有很强的稳定性、实用性和扩展性,在日常生活和工业生产中应用时可根据实际情况来控制其精确度。 This text introduces the concrete way to realize the real-time timing clock based on personal computer. The main methods are as follows:First,take advantage of the crystal oscillator to generate the periodic wave. Then,according to the actual demand,we can carry out frequency demultiplication to obtain the pulse with the needed frequency. Last,use the final pulse to apply for the interruption towards the CPU. Thus,the times of the interruption application towards the CPU are transformed to the displayed time which is accurate to 0.1 seconds. With the rapid development of the integrated circuit,the method has strong stability,practicality and expansibility. In the daily life and industrial production we can control the accuracy on the basis of the actual demand.
出处 《电脑知识与技术》 2009年第5X期4032-4033,4040,共3页 Computer Knowledge and Technology
关键词 PC机 实时时钟 中断控制 personal computer real-time clock interrupt control
  • 相关文献

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部