检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]石油大学资源与信息学院
出 处:《核电子学与探测技术》2005年第2期119-123,118,共6页Nuclear Electronics & Detection Technology
基 金:中国石油天然气集团公司科学研究与技术开发项目<综合测井采集地面系统研制>的资助(03B30103)
摘 要:介绍了CompactPCI总线及接口技术,PCI配置空间的内容与操作方法。详细说明了在VxWorks实时多任务操作系统下配置cPCI总线设备的方法。由于系统通过中断响应外部事件,使得硬件中断处理成为实时系统设计中的关键问题。在VxWorks系统下对cPCI中断响应的主要操作是将外部中断与中断服务程序连接起来,并控制PCI9054接口芯片的中断控制寄存器。在中断服务程序中使用信号量实现任务间的同步,保证了系统实时数据采集的可靠性。CompactPCI bus and interface featuring, the content and function of PCI configuration register are introduced herein. The driving and controlling techniques of CompactPCI bus in VxWorks real-time operating system are detailed. Hardware interrupt handling is one of key significance in real-time systems, because it is usually through interrupts that the system is informed of external events. VxWorks allows C functions to be connected to any interrupt. A routine connected to an interrupt in this way is called an interrupt service routine (ISR). For response of interrupt, interrupt control/status register of PCI 9054 interface chip needs to be set. The general-purpose binary semaphore used in ISR is capable of addressing the requirements of both forms of task coordination: mutual exclusion and synchronization. Therefore, the system runs stably and reliably.
关 键 词:中断响应 CPCI总线 中断服务程序 VXWORKS操作系统 VXWORKS系统 PCI9054 信号量 驱动 同步 寄存器
分 类 号:TL503.3[核科学技术—核技术及应用] TP316[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.15