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

实时多任务机制在单片机系统中的研究
引用本文:王瑜瑜,范蟠果,秦旭. 实时多任务机制在单片机系统中的研究[J]. 国外电子测量技术, 2010, 29(9): 53-55
作者姓名:王瑜瑜  范蟠果  秦旭
作者单位:西北工业大学自动化学院,西安,710129;西北工业大学自动化学院,西安,710129;西北工业大学自动化学院,西安,710129
摘    要:从操作系统实现多任务机制的原理入手,首先介绍了单片机实时多任务机制的实现方法,并以MCS-51系列单片机为例提出了一种新型的程序结构。然后提出了该机制的2种实现策略:基于定时中断和外部中断,详细阐述2种实现策略的实现原理和方法并对二者进行了比较。最后通过实验设计一个MCS-51单片机的应用系统验证了这种结构模块清晰、调度灵活。

关 键 词:多任务机制  单片机系统  中断  任务调度

Research of real-time multi-task mechanism in the single-chip microcomputer system
Wang Yuyu,Fan Panguo,Qin Xu. Research of real-time multi-task mechanism in the single-chip microcomputer system[J]. Foreign Electronic Measurement Technology, 2010, 29(9): 53-55
Authors:Wang Yuyu  Fan Panguo  Qin Xu
Affiliation:(School of Automation, Northwestern Polytechnical University, Xi'an 710129, China)
Abstract:From the principle of the operating system realizing multi-task mechanism,this paper firstly introduces the realizing method of microcontroller multi-task mechanism and presents a new type of program structure taking MCS-51 series microcontroller for example. Then it provides two kinds of strategies for this mechanism : based on timing interrupt and external interrupt, expounds the principles and implementation methods of the two realizing strategies and compares the both. Finally test shows that this structure module is clear and scheduling is flexible.
Keywords:multi-task mechanism  single-chip microcomputer system  interrupt  task scheduling
本文献已被 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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