Skip to content

Struct usb_cdc_union_desc

ClassList > usb_cdc_union_desc

Union Functional Descriptor. More...

  • #include <usb_cdc.h>

Public Attributes

Type Name
uint8_t bDescriptorSubType
Union Functional Descriptor.
uint8_t bDescriptorType
CS_INTERFACE descriptor type.
uint8_t bFunctionLength
Size of this functional descriptor, in bytes.
uint8_t bMasterInterface0
The interface number of the CDC interface designated as the master or controlling interface for the union.
uint8_t bSlaveInterface0
Interface number of first slave or associated interface in the union.

Detailed Description

The Union functional descriptor describes the relationship between a group of interfaces that can be considered to form a functional unit. It can only occur within the class-specific portion of an Interface descriptor. One of the interfaces in the group is designated as a master or controlling interface for the group, and certain class-specific messages can be sent to this interface to act upon the group as a whole.

Public Attributes Documentation

variable bDescriptorSubType

uint8_t usb_cdc_union_desc::bDescriptorSubType;

variable bDescriptorType

uint8_t usb_cdc_union_desc::bDescriptorType;

variable bFunctionLength

uint8_t usb_cdc_union_desc::bFunctionLength;

variable bMasterInterface0

uint8_t usb_cdc_union_desc::bMasterInterface0;

variable bSlaveInterface0

uint8_t usb_cdc_union_desc::bSlaveInterface0;

The documentation for this class was generated from the following file fw/rbcx-coprocessor/lib/libusb_stm32/include/usb_cdc.h