OpenOCD
usb_interface_descriptor Struct Reference

USB Interface Descriptor. More...

Data Fields

uint8_t bAlternateSetting
 Value used to select alternate setting. More...
 
uint8_t bDescriptorType
 INTERFACE descriptor type. More...
 
uint8_t bInterfaceClass
 Class code. More...
 
uint8_t bInterfaceNumber
 Interface number. More...
 
uint8_t bInterfaceProtocol
 Protocol code. More...
 
uint8_t bInterfaceSubclass
 Subclass code. More...
 
uint8_t bLength
 Size of this descriptor in bytes. More...
 
uint8_t bNumEndpoints
 Number of endpoints used by this interface. More...
 
uint8_t iInterface
 Index of interface string descriptor. More...
 

Detailed Description

USB Interface Descriptor.

See USB 1.1 spec, pp. 201 - 203

Definition at line 68 of file usb.h.

Field Documentation

◆ bAlternateSetting

uint8_t usb_interface_descriptor::bAlternateSetting

Value used to select alternate setting.

Definition at line 72 of file usb.h.

◆ bDescriptorType

uint8_t usb_interface_descriptor::bDescriptorType

INTERFACE descriptor type.

Definition at line 70 of file usb.h.

◆ bInterfaceClass

uint8_t usb_interface_descriptor::bInterfaceClass

Class code.

Definition at line 74 of file usb.h.

◆ bInterfaceNumber

uint8_t usb_interface_descriptor::bInterfaceNumber

Interface number.

Definition at line 71 of file usb.h.

Referenced by usb_handle_setup_data().

◆ bInterfaceProtocol

uint8_t usb_interface_descriptor::bInterfaceProtocol

Protocol code.

Definition at line 76 of file usb.h.

◆ bInterfaceSubclass

uint8_t usb_interface_descriptor::bInterfaceSubclass

Subclass code.

Definition at line 75 of file usb.h.

◆ bLength

uint8_t usb_interface_descriptor::bLength

Size of this descriptor in bytes.

Definition at line 69 of file usb.h.

◆ bNumEndpoints

uint8_t usb_interface_descriptor::bNumEndpoints

Number of endpoints used by this interface.

Definition at line 73 of file usb.h.

◆ iInterface

uint8_t usb_interface_descriptor::iInterface

Index of interface string descriptor.

Definition at line 77 of file usb.h.


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