首页 | 本学科首页   官方微博 | 高级检索  
     

CAN总线适配卡驱动程序开发
引用本文:吴友宇,秦神祖,杨菊芳,梁红.CAN总线适配卡驱动程序开发[J].武汉理工大学学报(信息与管理工程版),2004,26(3):11-14.
作者姓名:吴友宇  秦神祖  杨菊芳  梁红
作者单位:武汉理工大学信息工程学院,湖北,武汉,430070
基金项目:湖北省重大科技攻关资助项目(2003AA103B).
摘    要:简要介绍了设备驱动程序的概念以及设备驱动程序的开发工具,讨论了基于WinDriver的驱动开发模式,设计了适合CAN总线适配卡的驱动程序。开发过程为,利用VC 6.0对设备驱动程序的功能函数以DLL(DynamicLinkLibraries)的方式进行封装,通过调用DLL导出函数完成对低层相关操作。在DLL与上层可执行应用程序中采用回调函数来完成各种中断信号的中断处理。

关 键 词:CAN总线适配卡  设备驱动程序  WinDriver  DLL  回调函数
文章编号:1007-144X(2004)03-0011-04
修稿时间:2003年12月30

Development of the CAN Bus Adapter Driver Based on WinDriver
Wu Youyu,Qin Shenzu,Yang Jufang,Liang HongWu Youyu: Assoc. Prof., School of Information Engineering,WUT,Wuhan ,China..Development of the CAN Bus Adapter Driver Based on WinDriver[J].Journal of Wuhan University of Technology(Information & Management Engineering),2004,26(3):11-14.
Authors:Wu Youyu  Qin Shenzu  Yang Jufang  Liang HongWu Youyu: Assoc Prof  School of Information Engineering  WUT  Wuhan  China
Affiliation:Wu Youyu,Qin Shenzu,Yang Jufang,Liang HongWu Youyu: Assoc. Prof., School of Information Engineering,WUT,Wuhan 430070,China.
Abstract:The conception and development tools of the device driver program is introduced, the model of driver development of PC extended cards based on WinDriver is discussed, and a CAN bus adapter driver is developed based on WinDriver. All the API functions of device driver are exported from a DLL(Dynamic Link Libraries) by Visual C 6.0, which makes hardware operation easier and more convenient. In order to improve real time of interruption process, callback function is used in communication between DLL and application when interruption happens.
Keywords:CAN bus adapter  device driver  WinDriver  DLL  callback function
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号