Loading...
Searching...
No Matches
usb_descriptor_interface_t Struct Reference

USB interface descriptor (USB 2.0 spec table 9-12) More...

Detailed Description

USB interface descriptor (USB 2.0 spec table 9-12)

Definition at line 157 of file descriptor.h.

#include <descriptor.h>

Data Fields

uint8_t length
 Size of this descriptor

 
uint8_t type
 Descriptor type (USB_TYPE_DESCRIPTOR_INTERFACE)
 
uint8_t interface_num
 Interface number

 
uint8_t alternate_setting
 Alternate setting index

 
uint8_t num_endpoints
 Number of endpoints used by this interface

 
uint8_t class
 Interface class code as assigned by the USB-IF

 
uint8_t subclass
 Subclass code as assigned by the USB-IF

 
uint8_t protocol
 Protocol code

 
uint8_t idx
 Interface descriptor string index

 

Field Documentation

◆ alternate_setting

uint8_t usb_descriptor_interface_t::alternate_setting

Alternate setting index

Definition at line 161 of file descriptor.h.

◆ class

uint8_t usb_descriptor_interface_t::class

Interface class code as assigned by the USB-IF

Definition at line 163 of file descriptor.h.

◆ idx

uint8_t usb_descriptor_interface_t::idx

Interface descriptor string index

Definition at line 166 of file descriptor.h.

◆ interface_num

uint8_t usb_descriptor_interface_t::interface_num

Interface number

Definition at line 160 of file descriptor.h.

◆ length

uint8_t usb_descriptor_interface_t::length

Size of this descriptor

Definition at line 158 of file descriptor.h.

◆ num_endpoints

uint8_t usb_descriptor_interface_t::num_endpoints

Number of endpoints used by this interface

Definition at line 162 of file descriptor.h.

◆ protocol

uint8_t usb_descriptor_interface_t::protocol

Protocol code

Definition at line 165 of file descriptor.h.

◆ subclass

uint8_t usb_descriptor_interface_t::subclass

Subclass code as assigned by the USB-IF

Definition at line 164 of file descriptor.h.

◆ type

uint8_t usb_descriptor_interface_t::type

Descriptor type (USB_TYPE_DESCRIPTOR_INTERFACE)

Definition at line 159 of file descriptor.h.


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