HID Device Class Driver - LUFA/Drivers/Class/HID.h
[USB Class Drivers]


Modules

 HID Class Device Mode Driver
 HID Class Host Mode Driver
#define REQ_GetReport   0x01
#define REQ_GetIdle   0x02
#define REQ_SetReport   0x09
#define REQ_SetIdle   0x0A
#define REQ_GetProtocol   0x03
#define REQ_SetProtocol   0x0B
#define DTYPE_HID   0x21
#define DTYPE_Report   0x22
typedef uint8_t USB_Descriptor_HIDReport_Datatype_t

Detailed Description

Module Source Dependencies

The following files must be built with any user project that uses this module:

Description

Functions, macros, variables, enums and types related to the management of USB HID Class interfaces within a USB device.

Define Documentation

#define DTYPE_HID   0x21

Descriptor header type value, to indicate a HID class HID descriptor.

#define DTYPE_Report   0x22

Descriptor header type value, to indicate a HID class HID report descriptor.

#define REQ_GetIdle   0x02

HID Class Specific Request to get the current device idle count.

#define REQ_GetProtocol   0x03

HID Class Specific Request to get the current HID report protocol mode.

#define REQ_GetReport   0x01

HID Class Specific Request to get the current HID report from the device.

#define REQ_SetIdle   0x0A

HID Class Specific Request to set the device's idle count.

#define REQ_SetProtocol   0x0B

HID Class Specific Request to set the current HID report protocol mode.

#define REQ_SetReport   0x09

HID Class Specific Request to set the current HID report to the device.


Typedef Documentation

Type define for the data type used to store HID report descriptor elements.


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