USB Interface Descriptor.

Public Attributes#

uint8_t

Size of this descriptor in bytes.

uint8_t

Constant INTERFACE Descriptor Type.

uint8_t

Number of this interface.

uint8_t

Value used to select this alternate setting for the interface identified in the prior field.

uint8_t

Number of endpoints used by this interface (excluding endpoint zero).

uint8_t

Class code (assigned by the USB-IF).

uint8_t

Subclass code (assigned by the USB-IF).

uint8_t

Protocol code (assigned by the USB).

uint8_t

Index of string descriptor describing this interface.

Public Attribute Documentation#

bLength#

uint8_t USB_InterfaceDescriptor_TypeDef::bLength

Size of this descriptor in bytes.


Definition at line 455 of file platform/middleware/usb_gecko/inc/em_usb.h

bDescriptorType#

uint8_t USB_InterfaceDescriptor_TypeDef::bDescriptorType

Constant INTERFACE Descriptor Type.


Definition at line 456 of file platform/middleware/usb_gecko/inc/em_usb.h

bInterfaceNumber#

uint8_t USB_InterfaceDescriptor_TypeDef::bInterfaceNumber

Number of this interface.

Zero-based value identifying the index in the array of concurrent interfaces supported by this configuration.


Definition at line 457 of file platform/middleware/usb_gecko/inc/em_usb.h

bAlternateSetting#

uint8_t USB_InterfaceDescriptor_TypeDef::bAlternateSetting

Value used to select this alternate setting for the interface identified in the prior field.


Definition at line 460 of file platform/middleware/usb_gecko/inc/em_usb.h

bNumEndpoints#

uint8_t USB_InterfaceDescriptor_TypeDef::bNumEndpoints

Number of endpoints used by this interface (excluding endpoint zero).

If this value is zero, this interface only uses the Default Control Pipe.


Definition at line 462 of file platform/middleware/usb_gecko/inc/em_usb.h

bInterfaceClass#

uint8_t USB_InterfaceDescriptor_TypeDef::bInterfaceClass

Class code (assigned by the USB-IF).

A value of zero is reserved for future standardization. If this field is set to FFH, the interface class is vendor-specific. All other values are reserved for assignment by the USB-IF.


Definition at line 465 of file platform/middleware/usb_gecko/inc/em_usb.h

bInterfaceSubClass#

uint8_t USB_InterfaceDescriptor_TypeDef::bInterfaceSubClass

Subclass code (assigned by the USB-IF).

These codes are qualified by the value of the bInterfaceClass field. If the bInterfaceClass field is reset to zero, this field must also be reset to zero. If the bInterfaceClass field is not set to FFH, all values are reserved forassignment by the USB-IF.


Definition at line 470 of file platform/middleware/usb_gecko/inc/em_usb.h

bInterfaceProtocol#

uint8_t USB_InterfaceDescriptor_TypeDef::bInterfaceProtocol

Protocol code (assigned by the USB).

These codes are qualified by the value of the bInterfaceClass and the bInterfaceSubClass fields. If an interface supports class-specific requests, this code identifies the protocols that the device uses as defined by the specification of the device class. If this field is reset to zero, the device does not use a class-specific protocol on this interface. If this field is set to FFH, the device uses a vendor-specific protocol for this interface


Definition at line 476 of file platform/middleware/usb_gecko/inc/em_usb.h

iInterface#

uint8_t USB_InterfaceDescriptor_TypeDef::iInterface

Index of string descriptor describing this interface.


Definition at line 486 of file platform/middleware/usb_gecko/inc/em_usb.h