cn_tb055sc
所属分类:单片机开发
开发工具:Asm
文件大小:36KB
下载次数:14
上传日期:2009-03-07 20:32:49
上 传 者:
liubrec
说明: 采用pic16c745 pic16c765开发的usb ps2鼠标程序
(PS/2 to USB Mouse Example )
文件列表:
usb_defs.inc (17554, 2001-10-25)
hidclass.asm (11174, 2001-10-25)
mouse.asm (22039, 2001-11-19)
usb_ch9.asm (60785, 2001-10-25)
MOUSE.HEX (12208, 2002-02-14)
descript.asm (17251, 2001-11-19)
16C745.LKR (1786, 2001-10-25)
16C765.LKR (1786, 2001-10-25)
mouse.pjt (2588, 2002-02-14)
PS/2 to USB Mouse Example Rev. - 30 August 2001
Summary:
This firmware translates a PS/2 mouse to a USB mouse. The translator
firmware is entirely interrupt driven (with the exception of sending the
data via USB to the host.) An interrupt is generated when the PS/2 start
bit is received, at which time the firmware will begin its receive routine.
In addition to this interrupt, every 168ms a timer overflow interrupts the
main program and implements one state of the mouse state machine. This
state machine handles sending bytes to and translating bytes received from
the PS/2 mouse automatically. All of this is done in the background while
the main program runs in the foreground. The only operation that the main
program implements is sending mouse data to the PC via USB.
近期下载者:
相关文件:
收藏者: