Modules | Classes | Functions | Variables
Usb_cdc
Collaboration diagram for Usb_cdc:

Modules

 USB CDC Specification Release Numbers
 
 CDC Descriptor Types
 
 CDC Descriptor Subtypes
 
 USB CDC Device Descriptor Values
 
 USB CDC Communication Interface Descriptor
 
 USB CDC Data Interface Values
 
 USB CDC CallManagement Capabilities
 
 USB CDC ACM Capabilities
 
 CDC SerialState bits
 
 USB CDC Request Codes
 
 USB CDC ControlLineState bitmap
 
 USB CDC LineCoding StopBits
 
 USB CDC LineCoding ParityCheckings
 

Classes

struct  _CDCAbstractControlManagementDescriptor
 
struct  _CDCCallManagementDescriptor
 
struct  _CDCHeaderDescriptor
 
struct  _CDCLineCoding
 
struct  _CDCSerialState
 
struct  _CDCUnionDescriptor
 

Functions

struct _CDCHeaderDescriptor __attribute__ ((__packed__)) CDCHeaderDescriptor
 
void CDCLineCoding_Initialize (CDCLineCoding *lineCoding, uint32_t bitrate, uint8_t stopbits, uint8_t parity, uint8_t databits)
 
uint8_t CDCSetControlLineStateRequest_ActivateCarrier (const USBGenericRequest *request)
 
uint8_t CDCSetControlLineStateRequest_IsDtePresent (const USBGenericRequest *request)
 

Variables

typedef __attribute__
 USB Device LPM Descriptor structure. More...
 

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...
 

Detailed Description

Macro Definition Documentation

◆ CDC_PROTOCOL_CAPI20

#define CDC_PROTOCOL_CAPI20   0x93

CAPI Commands.

Definition at line 212 of file CDCDescriptors.h.

◆ CDC_PROTOCOL_HDLC

#define CDC_PROTOCOL_HDLC   0x31

HDLC.

Definition at line 204 of file CDCDescriptors.h.

◆ CDC_PROTOCOL_HOST

#define CDC_PROTOCOL_HOST   0xFD

Host based driver.

Definition at line 213 of file CDCDescriptors.h.

◆ CDC_PROTOCOL_I430

#define CDC_PROTOCOL_I430   0x30

ISDN BRI.

Definition at line 203 of file CDCDescriptors.h.

◆ CDC_PROTOCOL_PUFD

#define CDC_PROTOCOL_PUFD   0xFE

Describes the Protocol Unit Functional Descriptors [sic] on Communication Class Interface.

Definition at line 218 of file CDCDescriptors.h.

◆ CDC_PROTOCOL_Q921

#define CDC_PROTOCOL_Q921   0x51

Q.931 [sic] Data link protocol.

Definition at line 207 of file CDCDescriptors.h.

◆ CDC_PROTOCOL_Q921M

#define CDC_PROTOCOL_Q921M   0x50

Q.921 management protocol.

Definition at line 206 of file CDCDescriptors.h.

◆ CDC_PROTOCOL_Q921TM

#define CDC_PROTOCOL_Q921TM   0x52

Q.921 TEI-multiplexor.

Definition at line 208 of file CDCDescriptors.h.

◆ CDC_PROTOCOL_Q931

#define CDC_PROTOCOL_Q931   0x91

Euro-ISDN protocol control.

Definition at line 210 of file CDCDescriptors.h.

◆ CDC_PROTOCOL_TRANS

#define CDC_PROTOCOL_TRANS   0x32

Transparent.

Definition at line 205 of file CDCDescriptors.h.

◆ CDC_PROTOCOL_V120

#define CDC_PROTOCOL_V120   0x92

V.24 rate adaption to ISDN.

Definition at line 211 of file CDCDescriptors.h.

◆ CDC_PROTOCOL_V25TER

#define CDC_PROTOCOL_V25TER   0x01

Common AT commands.

Definition at line 198 of file CDCDescriptors.h.

◆ CDC_PROTOCOL_V42BIS

#define CDC_PROTOCOL_V42BIS   0x90

Data compression procedures.

Definition at line 209 of file CDCDescriptors.h.

◆ CDC_SUBCLASS_ACM

#define CDC_SUBCLASS_ACM   0x02

Abstract Control Model.

Definition at line 188 of file CDCDescriptors.h.

◆ CDC_SUBCLASS_ATM

#define CDC_SUBCLASS_ATM   0x07

ATM Networking Control Model.

Definition at line 193 of file CDCDescriptors.h.

◆ CDC_SUBCLASS_CCM

#define CDC_SUBCLASS_CCM   0x05

CAPI Control Model.

Definition at line 191 of file CDCDescriptors.h.

◆ CDC_SUBCLASS_DLCM

#define CDC_SUBCLASS_DLCM   0x01

Direct Line Control Model.

Definition at line 187 of file CDCDescriptors.h.

◆ CDC_SUBCLASS_ETH

#define CDC_SUBCLASS_ETH   0x06

Ethernet Networking Control Model.

Definition at line 192 of file CDCDescriptors.h.

◆ CDC_SUBCLASS_MCCM

#define CDC_SUBCLASS_MCCM   0x04

Multi-Channel Control Model.

Definition at line 190 of file CDCDescriptors.h.

◆ CDC_SUBCLASS_TCM

#define CDC_SUBCLASS_TCM   0x03

Telephone Control Model.

Definition at line 189 of file CDCDescriptors.h.

Function Documentation

◆ __attribute__()

struct _CDCHeaderDescriptor __attribute__ ( (__packed__)  )

USB CDC SerialState struct (bitmap)

◆ CDCLineCoding_Initialize()

void CDCLineCoding_Initialize ( CDCLineCoding *  lineCoding,
uint32_t  bitrate,
uint8_t  stopbits,
uint8_t  parity,
uint8_t  databits 
)

Initializes the bitrate, number of stop bits, parity checking and number of data bits of a CDCLineCoding object.

Parameters
lineCodingPointer to a CDCLineCoding instance.
bitrateBitrate of the virtual COM connection.
stopbitsNumber of stop bits (USB CDC LineCoding StopBits CDC LineCoding StopBits).
parityParity check type (USB CDC LineCoding ParityCheckings CDC LineCoding ParityChecking).
databitsNumber of data bits.

Definition at line 58 of file CDCLineCoding.c.

◆ CDCSetControlLineStateRequest_ActivateCarrier()

uint8_t CDCSetControlLineStateRequest_ActivateCarrier ( const USBGenericRequest request)

Notifies if the given request indicates that the device carrier should be activated.

Parameters
requestPointer to a USBGenericRequest instance.
Returns
1 is the device should activate its carrier, 0 otherwise.

Definition at line 71 of file CDCSetControlLineStateRequest.c.

◆ CDCSetControlLineStateRequest_IsDtePresent()

uint8_t CDCSetControlLineStateRequest_IsDtePresent ( const USBGenericRequest request)

Notifies if the given request indicates that the DTE signal is present.

Parameters
requestPointer to a USBGenericRequest instance.
Returns
1 if the DTE signal is present, otherwise 0.

Definition at line 54 of file CDCSetControlLineStateRequest.c.

Variable Documentation

◆ __attribute__

USB Device LPM Descriptor structure.

USB CDC SerialState struct (bitmap)

The BOS descriptor and capabilities descriptors for LPM.

Definition at line 1064 of file d_usartDMA.c.



inertial_sense_ros
Author(s):
autogenerated on Sun Feb 28 2021 03:18:02