摘要
本文介绍了以PCI9052为控制芯片的CAN总线双接口卡的设计,以及Windows平台下的PCI驱动程序的开发技术。本设计采用双通道CAN接口卡,在设计驱动程序时,以Windriver生成驱动程序框架,结合VisualC++6.0编程,实现CAN总线的初始化、收发数据、CAN接口卡的复位等控制操作,并将这些操作封装成DLL动态链接库,提供给用户使用。
This paper present the design approach to the CAN bus control card with two interfaces based on PCI9052 chip,and also introduced the technology of the driver of this card on the Windows platform.This design has two interfaces of CAN bus.The driver design used Windriver to generated the driver program frame,programming in Microsoft Visual C++ 6.0 to complete other special functions,such as CAN bus initiation,receiving and dispatching data and so on.In the end,it was packaged into a DLL for users.
出处
《工业控制计算机》
2005年第2期47-48,共2页
Industrial Control Computer
基金
福建省自然科学基金(编号:E0110007)
厦门大学预研基金(编号:Y07008)资助