Wixel SDK
Data Fields
USB_DESCRIPTOR_CONFIGURATION Struct Reference

#include <usb.h>

Data Fields

uint8 bLength
 
uint8 bDescriptorType
 
uint16 wTotalLength
 
uint8 bNumInterfaces
 
uint8 bConfigurationValue
 
uint8 iConfiguration
 
uint8 bmAttributes
 
uint8 bMaxPower
 

Detailed Description

Standard Configuration Descriptor from USB Spec Table 9-10

Definition at line 158 of file usb.h.

Field Documentation

uint8 bConfigurationValue

Value to use as an argument to the REQUEST_SET_CONFIGURATION to select this configuration (should be 1 in this library)

Definition at line 164 of file usb.h.

uint8 bDescriptorType

Should be DESCRIPTOR_CONFIGURATION

Definition at line 161 of file usb.h.

uint8 bLength

sizeof(struct USB_CONFIGURATION_DESCRIPTOR)

Definition at line 160 of file usb.h.

uint8 bmAttributes

D7:1, D6:Self-powered, D5:Remote wakeup, D4-0:0

Definition at line 166 of file usb.h.

uint8 bMaxPower

Maximum power consumption from the bus in units of 2 mA (50 = 100 mA)

Definition at line 167 of file usb.h.

uint8 bNumInterfaces

Number of interfaces supported by this configuration.

Definition at line 163 of file usb.h.

uint8 iConfiguration

Index of String Descriptor describing this configuration.

Definition at line 165 of file usb.h.

uint16 wTotalLength

Total length of all the descriptors returned for this configuration.

Definition at line 162 of file usb.h.


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