LUFA Library 110528
USB_Descriptor_String_t Struct Reference

Standard USB String Descriptor (LUFA naming conventions). More...

#include <StdDescriptors.h>

Data Fields

USB_Descriptor_Header_t Header
wchar_t UnicodeString []

Detailed Description

Type define for a standard string descriptor. Unlike other standard descriptors, the length of the descriptor for placement in the descriptor header must be determined by the USB_STRING_LEN() macro rather than by the size of the descriptor structure, as the length is not fixed.

This structure should also be used for string index 0, which contains the supported language IDs for the device as an array.

This structure uses LUFA-specific element names to make each element's purpose clearer.

See also:
USB_StdDescriptor_String_t for the version of this type with standard element names.

Field Documentation

Descriptor header, including type and size.


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