摘要: 考虑VxWorks的中断在具体实现上的特殊性,提出一个针对多块采集板系统的中断设计方案,把传统的中断服务程序分解为中断服务程序和中断服务任务,利用信号灯进行同步,通过在中断服务任务中引入用户定义的优先级,增强系统处理多中断时的可靠性和实 时性。
关键词:
实时操作系统,
多中断,
中断服务程序,
中断服务任务,
优先级
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的多中断处理设计[J]. 计算机工程, 2009, 35(13): 249-251.
TANG Xiao-ping; HE Feng; LIANG Dian-nong. Design of Multiple Interrupts Treatment Based on VxWorks[J]. Computer Engineering, 2009, 35(13): 249-251.