Data Fields
usbString0Desc Struct Reference

This structure describes the USB string descriptor for index 0 as defined in USB 2.0 specification section 9.6.7. Note that the number of language IDs is variable and can be determined by examining bLength. The number of language IDs present in the descriptor is given by ((bLength - 2) / 2). More...

#include <usb_spec_defines.h>

Data Fields

uint8_t bLength
 
uint8_t bDescriptorType
 
uint16_t wLangId [1]
 

Detailed Description

This structure describes the USB string descriptor for index 0 as defined in USB 2.0 specification section 9.6.7. Note that the number of language IDs is variable and can be determined by examining bLength. The number of language IDs present in the descriptor is given by ((bLength - 2) / 2).

Field Documentation

uint8_t usbString0Desc::bDescriptorType

Descriptor Type.

uint8_t usbString0Desc::bLength

Descriptor Length.

uint16_t usbString0Desc::wLangId[1]

The language code (LANGID) for the first supported language. Note that this descriptor may support multiple languages, in which case, the number of elements in the wLANGID array will increase and bLength will be updated accordingly.


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

Copyright 2016, Texas Instruments Incorporated