Data Fields
usb_configuration_descriptor Struct Reference

A USB configuration descriptor. More...

#include <usb.h>

Data Fields

struct usb_descriptor_header header
 Descriptor header. More...
uint16_t len
 Total length. More...
uint8_t interfaces
 Number of interfaces. More...
uint8_t config
 Configuration value. More...
uint8_t name
 Configuration string. More...
uint8_t attributes
 Attributes. More...
uint8_t power
 Maximum power consumption. More...

Detailed Description

A USB configuration descriptor.

Definition at line 195 of file usb.h.

Field Documentation

◆ header

struct usb_descriptor_header usb_configuration_descriptor::header

Descriptor header.

Definition at line 197 of file usb.h.

◆ len

uint16_t usb_configuration_descriptor::len

Total length.

Definition at line 199 of file usb.h.

Referenced by efi_usb_probe(), usb_config_descriptor(), usb_is_within_config(), and usbio_config().

◆ interfaces

uint8_t usb_configuration_descriptor::interfaces

Number of interfaces.

Definition at line 201 of file usb.h.

Referenced by usb_describe(), usb_probe_all(), usb_score(), and usbio_interfaces().

◆ config

uint8_t usb_configuration_descriptor::config

◆ name

uint8_t usb_configuration_descriptor::name

Configuration string.

Definition at line 205 of file usb.h.

◆ attributes

uint8_t usb_configuration_descriptor::attributes


Definition at line 207 of file usb.h.

◆ power

uint8_t usb_configuration_descriptor::power

Maximum power consumption.

Definition at line 209 of file usb.h.

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