Zephyr API Documentation 4.3.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
usb_device_descriptor Struct Reference

USB Standard Device Descriptor. More...

#include <zephyr/usb/usb_ch9.h>

Data Fields

uint8_t bLength
 Descriptor length.
uint8_t bDescriptorType
 Descriptor type.
uint16_t bcdUSB
 USB specification release number.
uint8_t bDeviceClass
 Device class.
uint8_t bDeviceSubClass
 Device subclass.
uint8_t bDeviceProtocol
 Device protocol.
uint8_t bMaxPacketSize0
 Maximum packet size for endpoint zero.
uint16_t idVendor
 Vendor ID.
uint16_t idProduct
 Product ID.
uint16_t bcdDevice
 Device release number.
uint8_t iManufacturer
 Manufacturer string index.
uint8_t iProduct
 Product string index.
uint8_t iSerialNumber
 Serial number string index.
uint8_t bNumConfigurations
 Number of configurations.

Detailed Description

USB Standard Device Descriptor.

See Table 9-8 of the specification.

Field Documentation

◆ bcdDevice

uint16_t usb_device_descriptor::bcdDevice

Device release number.

◆ bcdUSB

uint16_t usb_device_descriptor::bcdUSB

USB specification release number.

◆ bDescriptorType

uint8_t usb_device_descriptor::bDescriptorType

Descriptor type.

◆ bDeviceClass

uint8_t usb_device_descriptor::bDeviceClass

Device class.

◆ bDeviceProtocol

uint8_t usb_device_descriptor::bDeviceProtocol

Device protocol.

◆ bDeviceSubClass

uint8_t usb_device_descriptor::bDeviceSubClass

Device subclass.

◆ bLength

uint8_t usb_device_descriptor::bLength

Descriptor length.

◆ bMaxPacketSize0

uint8_t usb_device_descriptor::bMaxPacketSize0

Maximum packet size for endpoint zero.

◆ bNumConfigurations

uint8_t usb_device_descriptor::bNumConfigurations

Number of configurations.

◆ idProduct

uint16_t usb_device_descriptor::idProduct

Product ID.

◆ idVendor

uint16_t usb_device_descriptor::idVendor

Vendor ID.

◆ iManufacturer

uint8_t usb_device_descriptor::iManufacturer

Manufacturer string index.

◆ iProduct

uint8_t usb_device_descriptor::iProduct

Product string index.

◆ iSerialNumber

uint8_t usb_device_descriptor::iSerialNumber

Serial number string index.


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