pic16c765_HID_mouse
所属分类:嵌入式/单片机/硬件编程
开发工具:VHDL
文件大小:118KB
下载次数:39
上传日期:2009-05-20 10:11:37
上 传 者:
richman
说明: USB HID mouse device firmware source code using PIC s MCU
文件列表:
pic16c765\usb_defs.inc (17554, 2001-10-25)
pic16c765\hidclass.asm (11174, 2001-10-25)
pic16c765\mouse.asm (22039, 2001-11-19)
pic16c765\usb_ch9.asm (60785, 2001-10-25)
pic16c765\MOUSE.HEX (12208, 2002-02-14)
pic16c765\descript.asm (17251, 2001-11-19)
pic16c765\16C745.LKR (1786, 2001-10-25)
pic16c765\16C765.LKR (1786, 2001-10-25)
pic16c765\mouse.pjt (2588, 2002-02-14)
pic16c765\descript.err (0, 2005-11-02)
pic16c765\descript.lst (86341, 2005-11-02)
pic16c765\descript.o (9683, 2005-11-02)
pic16c765\hidclass.err (363, 2005-11-02)
pic16c765\hidclass.lst (73338, 2005-11-02)
pic16c765\hidclass.o (6187, 2005-11-02)
pic16c765\mouse.err (1416, 2005-11-02)
pic16c765\mouse.lst (96212, 2005-11-02)
pic16c765\mouse.o (11940, 2005-11-02)
pic16c765\usb_ch9.err (0, 2005-11-02)
pic16c765\usb_ch9.lst (193826, 2005-11-02)
pic16c765\usb_ch9.o (32642, 2005-11-02)
pic16c765 (0, 2005-10-24)
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.
近期下载者:
相关文件:
收藏者: