iPXE
Data Fields
usb_configuration_descriptor Struct Reference

A USB configuration descriptor. More...

#include <usb.h>

Data Fields

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

Detailed Description

A USB configuration descriptor.

Definition at line 195 of file usb.h.


Field Documentation

Descriptor header.

Definition at line 197 of file usb.h.

Total length.

Definition at line 199 of file usb.h.

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

Number of interfaces.

Definition at line 201 of file usb.h.

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

Configuration value.

Definition at line 203 of file usb.h.

Referenced by efi_usb_control_transfer(), usb_autoconfigure(), usb_probe_all(), usbio_config(), usbio_control_poll(), and usbio_interface().

Configuration string.

Definition at line 205 of file usb.h.

Attributes.

Definition at line 207 of file usb.h.

Maximum power consumption.

Definition at line 209 of file usb.h.


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