On Time RTOS-32 Documentation
Welcome
RTTarget-32
RTKernel-32
RTFiles-32
RTIP-32
RTPEG-32
RTUSB-32
RTUSB-32 Programming Manual
Introduction
The Universal Serial Bus
Programming with RTUSB-32
Demo Programs
Function FindUSBControllers
Program USBShow
Program HIDShow
Program HIDDemo
Program PrintDemo
Program MouseDemo
Program USBCOM
Program Audiodemo
Program MTPDemo
Advanced Topics
RTUSB-32 Reference Manual
|
Program HIDShow
HIDShow parses the HID (Human Interface Device) class-specific descriptors and displays information about the data structures the device can receive or send. In addition to displaying information found in HID class descriptors, this demo generates code which can be used to handle the respective device. Simply run the demo and then plug an HID device into a USB port. The demo will detect the device, read its HID class descriptor(s), and send data about the device to file RTTarget.log on the host. This data also includes a C/C++ code sequence which can be copy/pasted into demo program HIDDemo. In this way, HIDDemo acts as a driver for the respective HID device.
More information about USB HID class devices is available in section HID (Human Interface Devices).
Demo Programs
Program USBShow
Program HIDDemo
|