Skip to Main Content
This paper designs an embedded driver system for USB mouse based on AT89S52 single chip microcomputer. The AT89S52 controls the main control chip of USB, SL811HS to realize the function of controlling USB mouse. The hardware gives the principle diagram of this system. The software introduces the implementation principle and realization of USB bus resetting, device inserted action detection, device speed detection and so on. This paper gives the corresponding driver program code. Embedded driver system for USB has important reference value to the design of USB host system.