Go to the source code of this file.
◆ usbhid_config_t
HID Class Device Mode Configuration and State Structure.
Class state structure. An instance of this structure should be made for each HID interface within the user application, and passed to each of the HID class driver functions as the HIDInterfaceInfo
parameter. This stores each HID interface's configuration and state information.
- Note
- Due to technical limitations, the HID device class driver does not utilize a separate OUT endpoint for host->device communications. Instead, the host->device data (if any) is sent to the device via the control endpoint. Config data for the USB class interface within the device. All elements in this section must be set or the interface will fail to enumerate and operate correctly.
◆ usbhid_state_t
State data for the USB class interface within the device. All elements in this section are reset to their defaults when the interface is enumerated.