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. More...
 
uint16_t protocol
 USB specification release number in BCD. More...
 
struct usb_class class
 Device class. More...
 
uint8_t mtu
 Maximum packet size for endpoint zero. More...
 
uint16_t vendor
 Vendor ID. More...
 
uint16_t product
 Product ID. More...
 
uint16_t release
 Device release number in BCD. More...
 
uint8_t manufacturer
 Manufacturer string. More...
 
uint8_t name
 Product string. More...
 
uint8_t serial
 Serial number string. More...
 
uint8_t configurations
 Number of possible configurations. More...
 

Detailed Description

A USB device descriptor.

Definition at line 166 of file usb.h.

Field Documentation

◆ header

struct usb_descriptor_header usb_device_descriptor::header

Descriptor header.

Definition at line 168 of file usb.h.

◆ protocol

uint16_t usb_device_descriptor::protocol

USB specification release number in BCD.

Definition at line 170 of file usb.h.

Referenced by register_usb().

◆ class

struct usb_class usb_device_descriptor::class

Device class.

Definition at line 172 of file usb.h.

Referenced by register_usb(), and unregister_usb().

◆ mtu

uint8_t usb_device_descriptor::mtu

Maximum packet size for endpoint zero.

Definition at line 174 of file usb.h.

Referenced by register_usb().

◆ vendor

uint16_t usb_device_descriptor::vendor

Vendor ID.

Definition at line 176 of file usb.h.

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

◆ product

uint16_t usb_device_descriptor::product

Product ID.

Definition at line 178 of file usb.h.

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

◆ release

uint16_t usb_device_descriptor::release

Device release number in BCD.

Definition at line 180 of file usb.h.

◆ manufacturer

uint8_t usb_device_descriptor::manufacturer

Manufacturer string.

Definition at line 182 of file usb.h.

◆ name

uint8_t usb_device_descriptor::name

Product string.

Definition at line 184 of file usb.h.

◆ serial

uint8_t usb_device_descriptor::serial

Serial number string.

Definition at line 186 of file usb.h.

◆ configurations

uint8_t usb_device_descriptor::configurations

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: