Lightweight USB stack  1.0
usb_string_descriptor Struct Reference

USB string descriptor. More...

#include <usb_std.h>

Data Fields

uint8_t bLength
 Size of the descriptor, in bytes.
 
uint8_t bDescriptorType
 String descriptor type.
 
uint16_t wString []
 String data, as unicode characters or array of USB standard LANGID codes codes.
 

Detailed Description

USB string descriptor.

String descriptors are referenced by their one-based index number. A string descriptor contains one or more not NULL-terminated Unicode strings.

Note
String descriptors are optional. if a device does not support string descriptors, all references to string descriptors within device, configuration, and interface descriptors must be reset to zero.

Definition at line 444 of file usb_std.h.


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