KolibriOS kernel
usb_config_descr Struct Reference

USB configuration descriptor. More...

Public Attributes

dw wTotalLength
 
db bNumInterfaces
 
db bConfigurationValue
 
db iConfiguration
 
db bmAttributes
 
db bMaxPower
 

Detailed Description

USB configuration descriptor.

Source
bus/usb/protocol.inc:100

Member Data Documentation

◆ bConfigurationValue

db usb_config_descr::bConfigurationValue

Number of interfaces in this configuration

◆ bmAttributes

db usb_config_descr::bmAttributes

Index of string descriptor describing this configuration

◆ bMaxPower

db usb_config_descr::bMaxPower

Bit 6 is SelfPowered, bit 5 is RemoteWakeupSupported, bit 7 must be 1, other bits must be 0

◆ bNumInterfaces

db usb_config_descr::bNumInterfaces

Total length of data returned for this configuration

◆ iConfiguration

db usb_config_descr::iConfiguration

Value for SET_CONFIGURATION control request

◆ wTotalLength

dw usb_config_descr::wTotalLength

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