一种高效软件定时器的设计与实现
为了满足单片机开发系统中对软件定时器的需求,设计并实现了一种高效软件定时器。该软件定时器以单个硬件定时器为基础实现了多个软件定时器,可作为一个模块嵌入到软件中;叙述了软件定时器的设计思想和实现方法。实验测试和应用实例表明,该软件定时器定时误差可控,算法高效,且满足单片机开发系统对软件定时器的应用需求。...
Saved in:
Published in | 实验室研究与探索 Vol. 34; no. 9; pp. 94 - 97 |
---|---|
Main Author | |
Format | Journal Article |
Language | Chinese |
Published |
吉林大学仪器科学与电气工程学院,吉林长春,130026
2015
|
Subjects | |
Online Access | Get full text |
ISSN | 1006-7167 |
Cover
Summary: | 为了满足单片机开发系统中对软件定时器的需求,设计并实现了一种高效软件定时器。该软件定时器以单个硬件定时器为基础实现了多个软件定时器,可作为一个模块嵌入到软件中;叙述了软件定时器的设计思想和实现方法。实验测试和应用实例表明,该软件定时器定时误差可控,算法高效,且满足单片机开发系统对软件定时器的应用需求。 |
---|---|
Bibliography: | single-chip computer; clock-tick; software timer QIN Yu-meng, WANG Ya-nan, QIU Chun-ling (College of Instrumentation and Electrical Engineering, Jilin University, Changchun 130026, China) 31-1707/T In order to meet the requirement of software timer in microcontroller development system,an efficient software timer is designed and implemented. A number of software timers are achieved based on a single hardware timer,and can be used as a module embedded into the software. The design idea and implementation method are mentioned in details.The results of experimental tests and application example show that the system is with controllable-error and good property,and meets the application requirements of microcontroller development system. |
ISSN: | 1006-7167 |