作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2011, Vol. 37 ›› Issue (17): 242-244. doi: 10.3969/j.issn.1000-3428.2011.17.081

• 工程应用技术与实现 • 上一篇    下一篇

μC/OS-Ⅱ中断底半部机制的设计与实现

褚东升,孟德国,黎 明   

  1. (中国海洋大学工程学院,山东 青岛 266100)
  • 收稿日期:2011-03-21 出版日期:2011-09-05 发布日期:2011-09-05
  • 作者简介:褚东升(1956-),男,教授,主研方向:智能信息处理,智能控制;孟德国,硕士研究生;黎 明,副教授

Design and Implementation of Interrupt Bottom Half Mechanism for μC/OS-Ⅱ

CHU Dong-sheng, MENG De-guo, LI Ming   

  1. (College of Engineering, Ocean University of China, Qingdao 266100, China)
  • Received:2011-03-21 Online:2011-09-05 Published:2011-09-05

摘要: 设计并实现一种应用于μC/OS-Ⅱ系统的中断底半部机制。该机制与内核本身提供的信号量、消息邮箱等机制位于同层,同时支持有优先级的中断底半部静态触发和无优先级的动态注册。在大型海洋资料浮标项目中的应用结果表明,该机制可有效提高系统的响应速度和稳定性。

关键词: μC/OS-Ⅱ实时操作系统, 中断底半部, 推后执行, 进程调度, 嵌入式系统

Abstract: For μC/OS-Ⅱ doesn’t support bottom half interrupt, this paper presents an implementation scheme of bottom half mechanism for μC/OS-Ⅱ. According to the priorities of interrupts, it can be triggered statically by some special interrupts with priorities, and it also supports dynamic registration for interrupts without priorities. This mechanism improves the system performance. This mechanism has already been achieved, and used in ocean data buoy system successfully. Result shows that it can improve the system response speed and stability.

Key words: μC/OS-Ⅱ real-time Operating System(OS), interrupt bottom half, deferrable function, process schedule, embedded system

中图分类号: