StdDescriptors.h File Reference

#include <avr/pgmspace.h>
#include <stdbool.h>
#include "../../../Common/Common.h"
#include "USBMode.h"
#include "Events.h"

Data Structures

struct  USB_Descriptor_Header_t
struct  USB_StdDescriptor_Header_t
struct  USB_Descriptor_Device_t
struct  USB_StdDescriptor_Device_t
struct  USB_Descriptor_Configuration_Header_t
struct  USB_StdDescriptor_Configuration_Header_t
struct  USB_Descriptor_Interface_t
struct  USB_StdDescriptor_Interface_t
struct  USB_Descriptor_Interface_Association_t
struct  USB_StdDescriptor_Interface_Association_t
struct  USB_Descriptor_Endpoint_t
struct  USB_StdDescriptor_Endpoint_t
struct  USB_Descriptor_String_t
struct  USB_StdDescriptor_String_t

Defines

#define NO_DESCRIPTOR   0
#define USE_INTERNAL_SERIAL   0xDC
#define USB_CONFIG_POWER_MA(mA)   (mA >> 1)
#define USB_STRING_LEN(str)   (sizeof(USB_Descriptor_Header_t) + (str << 1))
#define VERSION_BCD(x)
#define LANGUAGE_ID_ENG   0x0409
#define ENDPOINT_DESCRIPTOR_DIR_IN   0x80
#define ENDPOINT_DESCRIPTOR_DIR_OUT   0x00
#define USB_CONFIG_ATTR_BUSPOWERED   0x80
#define USB_CONFIG_ATTR_SELFPOWERED   0xC0
#define USB_CONFIG_ATTR_REMOTEWAKEUP   0xA0
#define ENDPOINT_ATTR_NO_SYNC   (0 << 2)
#define ENDPOINT_ATTR_ASYNC   (1 << 2)
#define ENDPOINT_ATTR_ADAPTIVE   (2 << 2)
#define ENDPOINT_ATTR_SYNC   (3 << 2)
#define ENDPOINT_USAGE_DATA   (0 << 4)
#define ENDPOINT_USAGE_FEEDBACK   (1 << 4)
#define ENDPOINT_USAGE_IMPLICIT_FEEDBACK   (2 << 4)

Enumerations

enum  USB_DescriptorTypes_t {
  DTYPE_Device = 0x01,
  DTYPE_Configuration = 0x02,
  DTYPE_String = 0x03,
  DTYPE_Interface = 0x04,
  DTYPE_Endpoint = 0x05,
  DTYPE_DeviceQualifier = 0x06,
  DTYPE_Other = 0x07,
  DTYPE_InterfacePower = 0x08,
  DTYPE_InterfaceAssociation = 0x0B
}

Generated on Sun Nov 22 16:00:09 2009 for LUFA (Formerly MyUSB) Library by  doxygen 1.6.1