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.
标签: firmware mouse translates translator
上传时间: 2015-04-26
上传用户:cuiyashuo
Verilog HDL 程序 双路脉冲发生器的代码 包含了键盘控制,LED显示,脉冲发生,脉冲频率测量模块 是我自己写得,希望能对你有帮助,有问题可以mail:shaojunwu1@163.com
上传时间: 2015-04-26
上传用户:wpt
一个linux 下用C写的mouse小游戏
上传时间: 2015-04-29
上传用户:zhengzg
一些很实用的verilog源程序,是初学者的好棒手,希望能给需要的人一点帮助,请支持一下。
上传时间: 2014-01-25
上传用户:lepoke
uart d的verilog 程序,可以实现普通串口功能
上传时间: 2013-12-29
上传用户:lhc9102
用verilog语言在fpga中实现fifo功能!
上传时间: 2015-05-02
上传用户:epson850
用cpld实现曼彻斯特编码 用verilog HDL进行曼彻斯特编码,用于通信中
上传时间: 2015-05-02
上传用户:chenbhdt
异步FIFO控制器的设计 主要用于异步先进先出控制器的设计。 所用语言Verilog HDL.
上传时间: 2014-11-05
上传用户:bjgaofei
D触发器的设计 主要用在时序电路中。 所用语言为Verilog HDL.
上传时间: 2014-06-23
上传用户:ywqaxiwang
用一位全加器组成四位全加器. 所用语言是Verilog HDL. 主要用在加法器的设计中。
上传时间: 2015-05-02
上传用户:zukfu