Classes | Macros | Functions | Variables
CDCDescriptors.h File Reference
#include <stdint.h>
Include dependency graph for CDCDescriptors.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _CDCAbstractControlManagementDescriptor
 
struct  _CDCCallManagementDescriptor
 
struct  _CDCHeaderDescriptor
 
struct  _CDCUnionDescriptor
 

Macros

#define CDCAbstractControlManagementDescriptor_COMMFEATURE   (1 << 0)
 
#define CDCAbstractControlManagementDescriptor_LINE   (1 << 1)
 
#define CDCAbstractControlManagementDescriptor_NETWORKCONNECTION   (1 << 3)
 
#define CDCAbstractControlManagementDescriptor_SENDBREAK   (1 << 2)
 
#define CDCCallManagementDescriptor_DATACALLMANAGEMENT   (1 << 1)
 
#define CDCCallManagementDescriptor_SELFCALLMANAGEMENT   (1 << 0)
 
#define CDCCommunicationInterfaceDescriptor_ABSTRACTCONTROLMODEL   0x02
 
#define CDCCommunicationInterfaceDescriptor_CLASS   0x02
 
#define CDCCommunicationInterfaceDescriptor_EEMPROTOCOL   0x07
 
#define CDCCommunicationInterfaceDescriptor_ETHERNETEMULATIONMODEL   0x0C
 
#define CDCCommunicationInterfaceDescriptor_NOPROTOCOL   0x00
 
#define CDCDataInterfaceDescriptor_CLASS   0x0A
 
#define CDCDataInterfaceDescriptor_NOPROTOCOL   0x00
 
#define CDCDataInterfaceDescriptor_SUBCLASS   0x00
 
#define CDCDeviceDescriptor_CLASS   0x02
 
#define CDCDeviceDescriptor_PROTOCOL   0x00
 
#define CDCDeviceDescriptor_SUBCLASS   0x00
 
#define CDCGenericDescriptor_ABSTRACTCONTROLMANAGEMENT   0x02
 
#define CDCGenericDescriptor_CALLMANAGEMENT   0x01
 
#define CDCGenericDescriptor_CDC1_10   0x0110
 
#define CDCGenericDescriptor_ENDPOINT   0x25
 
#define CDCGenericDescriptor_HEADER   0x00
 
#define CDCGenericDescriptor_INTERFACE   0x24
 
#define CDCGenericDescriptor_UNION   0x06
 
USB CDC Subclass IDs
#define CDC_SUBCLASS_DLCM   0x01
 Direct Line Control Model. More...
 
#define CDC_SUBCLASS_ACM   0x02
 Abstract Control Model. More...
 
#define CDC_SUBCLASS_TCM   0x03
 Telephone Control Model. More...
 
#define CDC_SUBCLASS_MCCM   0x04
 Multi-Channel Control Model. More...
 
#define CDC_SUBCLASS_CCM   0x05
 CAPI Control Model. More...
 
#define CDC_SUBCLASS_ETH   0x06
 Ethernet Networking Control Model. More...
 
#define CDC_SUBCLASS_ATM   0x07
 ATM Networking Control Model. More...
 
USB CDC Communication Interface Protocol IDs
#define CDC_PROTOCOL_V25TER   0x01
 Common AT commands. More...
 
USB CDC Data Interface Protocol IDs
#define CDC_PROTOCOL_I430   0x30
 ISDN BRI. More...
 
#define CDC_PROTOCOL_HDLC   0x31
 HDLC. More...
 
#define CDC_PROTOCOL_TRANS   0x32
 Transparent. More...
 
#define CDC_PROTOCOL_Q921M   0x50
 Q.921 management protocol. More...
 
#define CDC_PROTOCOL_Q921   0x51
 Q.931 [sic] Data link protocol. More...
 
#define CDC_PROTOCOL_Q921TM   0x52
 Q.921 TEI-multiplexor. More...
 
#define CDC_PROTOCOL_V42BIS   0x90
 Data compression procedures. More...
 
#define CDC_PROTOCOL_Q931   0x91
 Euro-ISDN protocol control. More...
 
#define CDC_PROTOCOL_V120   0x92
 V.24 rate adaption to ISDN. More...
 
#define CDC_PROTOCOL_CAPI20   0x93
 CAPI Commands. More...
 
#define CDC_PROTOCOL_HOST   0xFD
 Host based driver. More...
 
#define CDC_PROTOCOL_PUFD   0xFE
 Describes the Protocol Unit Functional Descriptors [sic] on Communication Class Interface. More...
 

Functions

struct _CDCHeaderDescriptor __attribute__ ((__packed__)) CDCHeaderDescriptor
 

Variables

uint16_t bcdCDC
 
uint8_t bDataInterface
 
uint8_t bDescriptorSubtype
 
uint8_t bDescriptorType
 
uint8_t bFunctionLength
 
uint8_t bMasterInterface
 
uint8_t bmCapabilities
 
uint8_t bSlaveInterface0
 

Detailed Description

Definitions and classes for USB CDC class descriptors.

Definition in file CDCDescriptors.h.

Variable Documentation

◆ bcdCDC

uint16_t bcdCDC

USB CDC specification release number.

Definition at line 85 of file CDCDescriptors.h.

◆ bDataInterface

uint8_t bDataInterface

Interface number of the data class interface used for call management (optional).

Definition at line 89 of file CDCDescriptors.h.

◆ bDescriptorSubtype

uint8_t bDescriptorSubtype

Descriptor sub-type .

Descriptor subtype .

Definition at line 83 of file CDCDescriptors.h.

◆ bDescriptorType

uint8_t bDescriptorType

Descriptor type .

Descriptor type (USBGenericDescriptor_DEVICE).

Descriptor type (USBGenericDescriptor_OTG).

Descriptor type (USBDESC_DEVICE_QUALIFIER or "USB device types").

Descriptor type (USBDESC_CONFIGURATION of USB Descriptor types USB Descriptor types).

Descriptor type (USBGenericDescriptor_INTERFACE).

Descriptor type (USBGenericDescriptor_ENDPOINT).

Definition at line 81 of file CDCDescriptors.h.

◆ bFunctionLength

uint8_t bFunctionLength

Size of this descriptor in bytes.

Size of the descriptor in bytes.

Definition at line 79 of file CDCDescriptors.h.

◆ bMasterInterface

uint8_t bMasterInterface

Number of the master interface for this union.

Definition at line 85 of file CDCDescriptors.h.

◆ bmCapabilities

uint8_t bmCapabilities

Configuration capabilities

See also
USB CDC CallManagement Capabilities CDC CallManagement Capabilities.

Configuration capabilities.

See also
USB CDC ACM Capabilities CDC ACM Capabilities.

Definition at line 86 of file CDCDescriptors.h.

◆ bSlaveInterface0

uint8_t bSlaveInterface0

Number of the first slave interface for this union.

Definition at line 87 of file CDCDescriptors.h.



inertial_sense_ros
Author(s):
autogenerated on Sat Sep 19 2020 03:19:05