Data Fields
tConfigHeader Struct Reference

#include <usblib.h>

Data Fields

uint8_t ucNumSections
 
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

const tConfigSection* const* tConfigHeader::psSections

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

uint8_t tConfigHeader::ucNumSections

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


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

Copyright 2016, Texas Instruments Incorporated