USB Component
Version 6.17.0
MDK Middleware for USB Device and Host Communication
|
USB Host functions to support Human Interface Device (HID) USB Devices. More...
Content | |
User API | |
User API reference of the Human Interface Device Class. | |
Configuration | |
Configuration of the USB Host HID Class in µVision. | |
USB Host functions to support Human Interface Device (HID) USB Devices.
The HID class in the USB Component is used for attaching input devices to your system.
Refer to:
Software Structure
The application starts the USB Host by calling USBH_Initialize. The USB Host Core will wait until an USB HID device is attached to the system. As soon as this happens it will enumerate the device and it will be ready to be used by the application. The handling of the HID class events is implemented in USBH_HIDn_Thread.
The transmit functions USBH_HID_Read and USBH_HID_Write will be called by the user thread directly to communicate with the HID device.
To create an USB Host with support for the HID class:
Code Example