首页 | 本学科首页   官方微博 | 高级检索  
     检索      

MCS-51单片机中软时钟设计的优化方法
引用本文:张乐芳,庞新法,黄天录.MCS-51单片机中软时钟设计的优化方法[J].现代电子技术,2010,33(15):187-189.
作者姓名:张乐芳  庞新法  黄天录
作者单位:1. 西安欧亚学院,信息工程学院,陕西,西安,710065
2. 中共陕西省委党校,信息中心,陕西,西安,710061
3. 西安通信学院,陕西,西安,710106
摘    要:根据MCS-51单片机内部定时计数器的特点,提出一种通过对定时计数器中断间隔时间进行累加的软时钟设计方法,并在此基础上提出通过改变时间处理方式的进一步优化方法。此方法不仅简化了程序设计,节省了硬件开销,而且提高了电脑时钟的定时精度,具有广泛的应用价值。

关 键 词:单片机  软时钟  定时计数器  计数器中断间隔  优先级

Optimization Methods of Soft-clock Design in MCS-51 Single Chip Computer
ZHANG Le-fang,PANG Xin-fa,HUANG Tian-lu.Optimization Methods of Soft-clock Design in MCS-51 Single Chip Computer[J].Modern Electronic Technique,2010,33(15):187-189.
Authors:ZHANG Le-fang  PANG Xin-fa  HUANG Tian-lu
Institution:1.School of Information Engineering,Xi’an Eurasia University,Xi’an 710065,China;2.Shaanxi Province Party School of CPC,Xi’an 710061,China;3.Xi’an Communication Institute,Xi’an 710106,China)
Abstract:A soft-clock design method cumulative with timing counter interruptive interval is proposed according to the characteristics of the timing counter in MCS-51 single chip computer.On this basis,a further optimization method to accumulate the interruptive interval time of the timing counter is put forward.This method not only simplifies the program design and reduces the hardware costs but also improves the clock timing accuracy of the computer.Therefore,it has a very wide range of applications.
Keywords:single chip computer  soft-clock  timing counter  counter interruptive interval  priority grade
本文献已被 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号