USBLibAPIGuide  1.00.00.01
Data Fields
tConfigHeader Struct Reference

#include <usblib.h>

Collaboration diagram for tConfigHeader:
Collaboration graph
[legend]

Data Fields

uint8_t ui8NumSections
 
const tConfigSection *const * psSections
 

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

§ ui8NumSections

uint8_t tConfigHeader::ui8NumSections

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

Referenced by BuildCompositeDescriptor(), USBDCDConfigDescGet(), USBDCDConfigDescGetNum(), and USBDCDConfigDescGetSize().

§ psSections

const tConfigSection* const* tConfigHeader::psSections

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

Referenced by BuildCompositeDescriptor(), USBDCDConfigDescGet(), USBDCDConfigDescGetNum(), USBDCDConfigDescGetSize(), and USBDCDConfigGetNumAlternateInterfaces().


The documentation for this struct was generated from the following file:
© Copyright 1995-2020, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale