⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.txt

📁 Mouse for USB demo, based on STR710
💻 TXT
字号:
*** This README.TXT file comes with the STR71x USB Software Library ***

Example description
===================
MOUSE is a sample application using an endpoint programmed as INTERRUPT type giving to a PC
a channel to read the status of a virtual HID mouse.
Motion sensors are emulated by means of a PC terminal emulator connected to the UART0 of
the STR71x.

During the enumeration phase, the PC detects the presence of the mouse device and loads the
associated software driver and then it periodically polls the endpoint with IN tokens.
Mouse is a device configured as a HID device.

How to use it
=============
To test this mouse tutorial, a minimal configuration is required :
-connect a PC serial port to the UART0 of the ARM board
-on the PC, run a terminal emulation program (i.e. Hyperterminal) configured with the
following parameters :
  -baud rate = 9600
  -data bits = 8
  -parity    = no
  -stop bits = 1
  -flow control = no

Mouse motion events are emulated with the following PC keyboard keys:
[A] = right
[D] = left
[W] = up
[X] = down

The first time the device is connected to a Windows 98 computer the driver of this new hardware is loaded.
Relative windows driver is : USB Human Interface Device


(C) COPYRIGHT 2003 STMicroelectronics

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -