iPXE
Data Fields
usb_device_descriptor Struct Reference

A USB device descriptor. More...

#include <usb.h>

Data Fields

struct usb_descriptor_header header
 Descriptor header.
uint16_t protocol
 USB specification release number in BCD.
struct usb_class class
 Device class.
uint8_t mtu
 Maximum packet size for endpoint zero.
uint16_t vendor
 Vendor ID.
uint16_t product
 Product ID.
uint16_t release
 Device release number in BCD.
uint8_t manufacturer
 Manufacturer string.
uint8_t name
 Product string.
uint8_t serial
 Serial number string.
uint8_t configurations
 Number of possible configurations.

Detailed Description

A USB device descriptor.

Definition at line 166 of file usb.h.


Field Documentation

Descriptor header.

Definition at line 168 of file usb.h.

USB specification release number in BCD.

Definition at line 170 of file usb.h.

Referenced by register_usb().

Device class.

Definition at line 172 of file usb.h.

Referenced by register_usb().

Maximum packet size for endpoint zero.

Definition at line 174 of file usb.h.

Referenced by register_usb().

Vendor ID.

Definition at line 176 of file usb.h.

Referenced by register_usb(), usb_describe(), and usb_probe_all().

Product ID.

Definition at line 178 of file usb.h.

Referenced by register_usb(), usb_describe(), and usb_probe_all().

Device release number in BCD.

Definition at line 180 of file usb.h.

Manufacturer string.

Definition at line 182 of file usb.h.

Product string.

Definition at line 184 of file usb.h.

Serial number string.

Definition at line 186 of file usb.h.

Number of possible configurations.

Definition at line 188 of file usb.h.

Referenced by usb_autoconfigure().


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