#include <HID.h>
Data Fields | |
struct { | |
uint8_t DataINPipeNumber | |
uint8_t DataOUTPipeNumber | |
bool MatchInterfaceProtocol | |
uint8_t HIDInterfaceProtocol | |
} | Config |
struct { | |
uint16_t DataINPipeSize | |
uint16_t DataOUTPipeSize | |
} | State |
struct { ... } USB_ClassInfo_HID_Host_t::Config |
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.
Pipe number of the HID interface's IN data pipe
Size in bytes of the HID interface's IN data pipe
Pipe number of the HID interface's OUT data pipe
Size in bytes of the HID interface's OUT data pipe
HID interface protocol value to match against if the MatchInterfaceProtocol is set to true (ignored otherwise)
Indicates whether the driver should match the device's HID interface protocol's value to the HIDInterfaceProtocol suppled (otherwise just accept all HID class devices)
struct { ... } USB_ClassInfo_HID_Host_t::State |
State data for the USB class interface within the device. All elements in this section may be set to initial values, but may also be ignored to default to sane values when the interface is enumerated.