#include <StdDescriptors.h>
Data Fields | |
USB_Descriptor_Header_t | Header |
int16_t | UnicodeString [] |
This structure should also be used for string index 0, which contains the supported language IDs for the device as an array.
Descriptor header, including type and size.
int16_t USB_Descriptor_String_t::UnicodeString[] |
String data, as unicode characters (alternatively, string language IDs). If normal ASCII characters are to be used, they must be added as an array of characters rather than a normal C string so that they are widened to Unicode size.
Under GCC, strings prefixed with the "L" character (before the opening string quotation mark) are considered to be Unicode strings, and may be used instead of an explicit array of ASCII characters.