Data Fields
usbConfigHeader Struct Reference

This is the top level structure defining a USB device configuration descriptor. A configuration descriptor contains a collection of device- specific descriptors in addition to the basic config, interface and endpoint descriptors. To allow flexibility in constructing the configuration, the descriptor is described in terms of a list of data blocks. The first block must contain the configuration descriptor itself and the following blocks are appended to this in order to produce the full descriptor sent to the host in response to a GetDescriptor request for the configuration descriptor. More...

#include <usb_dev_object.h>

Data Fields

uint8_t numSections
 
usbConfigSection_t ** pConfigSections
 

Detailed Description

This is the top level structure defining a USB device configuration descriptor. A configuration descriptor contains a collection of device- specific descriptors in addition to the basic config, interface and endpoint descriptors. To allow flexibility in constructing the configuration, the descriptor is described in terms of a list of data blocks. The first block must contain the configuration descriptor itself and the following blocks are appended to this in order to produce the full descriptor sent to the host in response to a GetDescriptor request for the configuration descriptor.

Field Documentation

uint8_t usbConfigHeader::numSections

The number of sections comprising the full descriptor for this configuration.

usbConfigSection_t** usbConfigHeader::pConfigSections

A pointer to an array of ucNumSections section pointers which must be concatenated to form the configuration descriptor.


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

Copyright 2016, Texas Instruments Incorporated