USB_ClassInfo_HID_Host_t Struct Reference
[HID Class Host Mode Driver]

#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


Detailed Description

Class state structure. An instance of this structure should be made 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.

Field Documentation

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)

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.


The documentation for this struct was generated from the following file:

Generated on Sun Aug 9 19:53:13 2009 for LUFA (Formerly MyUSB) Library by  doxygen 1.5.9