USB Constants and Structures


Inclusion guard
#define DEVSTRING_DESCRIPTOR(STRING_LENGTH)
typedef struct devstring_descriptor {
uint8 bLength;
uint8 bDescriptorType;
char bString[STRING_LENGTH];
} DEVSTRING_DESCRIPTOR
#define MANUFACTURER_DESCRIPTOR(STRING_LENGTH)
typedef struct manufstring_descriptor {
uint8 bLength;
uint8 bDescriptorType;
char bString[STRING_LENGTH];
} MANUFACTURER_DESCRIPTOR