本文已被:浏览 2203次 下载 4663次
Received:July 24, 2009 Revised:August 26, 2009
Received:July 24, 2009 Revised:August 26, 2009
中文摘要: 基于一种新型USB总线接口芯片CH372,设计出一种人机接口设备—USB鼠标。阐述了CH372的工作原理和特点,给出了系统的硬件电路图;在软件设计中,分析了HID类设备描述符枚举过程,根据主程序流程图,写出了部分单片机本地端主程序。通过硬件和软件调试,最后成功模拟出鼠标左键和右键功能。
Abstract:Based on a new type of USB bus interface chip CH372, a human interface devices-USB mouse is designed. The working principle and characteristics of CH372 are expounded, and Hardware circuit is given. In terms of software design, the Enumeration process of the HID device descriptor is analysed. According to the main program flow chart, a local single-chip part of the main program is given. Through hardware and software debugging, the mouse functions of the left and the right button are successfully simulated.
keywords: HID descriptor numerate interruption
文章编号: 中图分类号: 文献标志码:
基金项目:
Author Name | Affiliation |
YANG Shun | 辽宁工程技术大学 电子与信息学院 辽宁 葫芦岛 125105 |
WANG Xing |
Author Name | Affiliation |
YANG Shun | 辽宁工程技术大学 电子与信息学院 辽宁 葫芦岛 125105 |
WANG Xing |
引用文本:
杨顺,王星.基于USB接口芯片CH372的人机接口设备的设计与实现.计算机系统应用,2010,19(4):216-218
YANG Shun,WANG Xing.Design and Implementation of Human Interface Devices Based on USB Interface Chip CH372.COMPUTER SYSTEMS APPLICATIONS,2010,19(4):216-218
杨顺,王星.基于USB接口芯片CH372的人机接口设备的设计与实现.计算机系统应用,2010,19(4):216-218
YANG Shun,WANG Xing.Design and Implementation of Human Interface Devices Based on USB Interface Chip CH372.COMPUTER SYSTEMS APPLICATIONS,2010,19(4):216-218