Author Login Editor-in-Chief Peer Review Editor Work Office Work

Computer Engineering ›› 2009, Vol. 35 ›› Issue (13): 249-251. doi: 10.3969/j.issn.1000-3428.2009.13.086

• Engineer Application Technology and Realization • Previous Articles     Next Articles

Design of Multiple Interrupts Treatment Based on VxWorks

TANG Xiao-ping, HE Feng, LIANG Dian-nong   

  1. (School of Electronic Science and Engineering, National University of Defence Technology, Changsha 410073)
  • Received:1900-01-01 Revised:1900-01-01 Online:2009-07-05 Published:2009-07-05

基于VxWorks的多中断处理设计

唐晓平,何 峰,梁甸农   

  1. (国防科学技术大学电子科学与工程学院,长沙 410073)

Abstract: Considering the specificity in the specific realization of interrupt in the VxWorks, this paper proposes an interrupt treatment design of a system consisted of multiple data acquisition boards. It divides the traditional Interrupt Service Routine(ISR) into interrupt service routine and interrupt service task, and makes use of the semaphore to synchronize them. By introducing the priority that users define, the design enhances the real-time performance and stability of the system.

Key words: RTOS, multiple interrupts, Interrupt Service Routine(ISR), interrupt service task, priority

摘要: 考虑VxWorks的中断在具体实现上的特殊性,提出一个针对多块采集板系统的中断设计方案,把传统的中断服务程序分解为中断服务程序和中断服务任务,利用信号灯进行同步,通过在中断服务任务中引入用户定义的优先级,增强系统处理多中断时的可靠性和实 时性。

关键词: 实时操作系统, 多中断, 中断服务程序, 中断服务任务, 优先级

CLC Number: