Configuration of the USB Host HID Class.
Configuration of the USB Host HID Class.
HID Class Configuration File
The USB Host HID Class configuration file USBH_Config_HID.h contains the following settings:
- Number of concurrent HID Devices in system specifies the number of HID devices that will be supported.
- OS Resource Settings
- HID Interrupt In Pipe handling Thread Stack Size specifies the thread stack size for the thread that polls the interrupt endpoint of the HID.
- The default HID Interrupt In Pipe handling Thread priority is osPriorityAboveNormal. This priority can be changed by changing USBH_HID_INT_IN_THREAD_PRIORITY define in this configuration file. This priority needs to be high enough so that USB Stack can react to USB events in a timely manner. Due to this requirement it is recommended to keep this setting at default.