SAMV71 Xplained Ultra Software Package 1.3

CDCDescriptors.h File Reference

#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  _CDCHeaderDescriptor
struct  _CDCUnionDescriptor
struct  _CDCCallManagementDescriptor
struct  _CDCAbstractControlManagementDescriptor

Defines

#define CDCGenericDescriptor_CDC1_10   0x0110
#define CDCGenericDescriptor_INTERFACE   0x24
#define CDCGenericDescriptor_ENDPOINT   0x25
#define CDCGenericDescriptor_HEADER   0x00
#define CDCGenericDescriptor_CALLMANAGEMENT   0x01
#define CDCGenericDescriptor_ABSTRACTCONTROLMANAGEMENT   0x02
#define CDCGenericDescriptor_UNION   0x06
#define CDCDeviceDescriptor_CLASS   0x02
#define CDCDeviceDescriptor_SUBCLASS   0x00
#define CDCDeviceDescriptor_PROTOCOL   0x00
#define CDCCommunicationInterfaceDescriptor_CLASS   0x02
#define CDCCommunicationInterfaceDescriptor_ABSTRACTCONTROLMODEL   0x02
#define CDCCommunicationInterfaceDescriptor_ETHERNETEMULATIONMODEL   0x0C
#define CDCCommunicationInterfaceDescriptor_NOPROTOCOL   0x00
#define CDCCommunicationInterfaceDescriptor_EEMPROTOCOL   0x07
#define CDCDataInterfaceDescriptor_CLASS   0x0A
#define CDCDataInterfaceDescriptor_SUBCLASS   0x00
#define CDCDataInterfaceDescriptor_NOPROTOCOL   0x00
#define CDCCallManagementDescriptor_SELFCALLMANAGEMENT   (1 << 0)
#define CDCCallManagementDescriptor_DATACALLMANAGEMENT   (1 << 1)
#define CDCAbstractControlManagementDescriptor_COMMFEATURE   (1 << 0)
#define CDCAbstractControlManagementDescriptor_LINE   (1 << 1)
#define CDCAbstractControlManagementDescriptor_SENDBREAK   (1 << 2)
#define CDCAbstractControlManagementDescriptor_NETWORKCONNECTION   (1 << 3)
USB CDC Subclass IDs

#define CDC_SUBCLASS_DLCM   0x01
 Direct Line Control Model.
#define CDC_SUBCLASS_ACM   0x02
 Abstract Control Model.
#define CDC_SUBCLASS_TCM   0x03
 Telephone Control Model.
#define CDC_SUBCLASS_MCCM   0x04
 Multi-Channel Control Model.
#define CDC_SUBCLASS_CCM   0x05
 CAPI Control Model.
#define CDC_SUBCLASS_ETH   0x06
 Ethernet Networking Control Model.
#define CDC_SUBCLASS_ATM   0x07
 ATM Networking Control Model.
USB CDC Communication Interface Protocol IDs

#define CDC_PROTOCOL_V25TER   0x01
 Common AT commands.
USB CDC Data Interface Protocol IDs

#define CDC_PROTOCOL_I430   0x30
 ISDN BRI.
#define CDC_PROTOCOL_HDLC   0x31
 HDLC.
#define CDC_PROTOCOL_TRANS   0x32
 Transparent.
#define CDC_PROTOCOL_Q921M   0x50
 Q.921 management protocol.
#define CDC_PROTOCOL_Q921   0x51
 Q.931 [sic] Data link protocol.
#define CDC_PROTOCOL_Q921TM   0x52
 Q.921 TEI-multiplexor.
#define CDC_PROTOCOL_V42BIS   0x90
 Data compression procedures.
#define CDC_PROTOCOL_Q931   0x91
 Euro-ISDN protocol control.
#define CDC_PROTOCOL_V120   0x92
 V.24 rate adaption to ISDN.
#define CDC_PROTOCOL_CAPI20   0x93
 CAPI Commands.
#define CDC_PROTOCOL_HOST   0xFD
 Host based driver.
#define CDC_PROTOCOL_PUFD   0xFE
 Describes the Protocol Unit Functional Descriptors [sic] on Communication Class Interface.

Functions

struct _CDCHeaderDescriptor __attribute__ ((__packed__)) CDCHeaderDescriptor

Variables

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

Detailed Description

Definitions and classes for USB CDC class descriptors.

Definition in file CDCDescriptors.h.


Variable Documentation

uint16_t bcdCDC

USB CDC specification release number.

Definition at line 256 of file CDCDescriptors.h.

uint8_t bDataInterface

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

Definition at line 302 of file CDCDescriptors.h.

Descriptor sub-type .

Descriptor subtype .

Definition at line 254 of file CDCDescriptors.h.

uint8_t bDescriptorType

Descriptor type .

Definition at line 252 of file CDCDescriptors.h.

uint8_t bFunctionLength

Size of this descriptor in bytes.

Size of the descriptor in bytes.

Definition at line 250 of file CDCDescriptors.h.

Number of the master interface for this union.

Definition at line 276 of file CDCDescriptors.h.

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 299 of file CDCDescriptors.h.

Number of the first slave interface for this union.

Definition at line 278 of file CDCDescriptors.h.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines