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... | |
#define CDC_PROTOCOL_CAPI20 0x93 |
CAPI Commands.
Definition at line 212 of file CDCDescriptors.h.
#define CDC_PROTOCOL_HDLC 0x31 |
HDLC.
Definition at line 204 of file CDCDescriptors.h.
#define CDC_PROTOCOL_HOST 0xFD |
Host based driver.
Definition at line 213 of file CDCDescriptors.h.
#define CDC_PROTOCOL_I430 0x30 |
ISDN BRI.
Definition at line 203 of file CDCDescriptors.h.
#define CDC_PROTOCOL_PUFD 0xFE |
Describes the Protocol Unit Functional Descriptors [sic] on Communication Class Interface.
Definition at line 218 of file CDCDescriptors.h.
#define CDC_PROTOCOL_Q921 0x51 |
Q.931 [sic] Data link protocol.
Definition at line 207 of file CDCDescriptors.h.
#define CDC_PROTOCOL_Q921M 0x50 |
Q.921 management protocol.
Definition at line 206 of file CDCDescriptors.h.
#define CDC_PROTOCOL_Q921TM 0x52 |
Q.921 TEI-multiplexor.
Definition at line 208 of file CDCDescriptors.h.
#define CDC_PROTOCOL_Q931 0x91 |
Euro-ISDN protocol control.
Definition at line 210 of file CDCDescriptors.h.
#define CDC_PROTOCOL_TRANS 0x32 |
Transparent.
Definition at line 205 of file CDCDescriptors.h.
#define CDC_PROTOCOL_V120 0x92 |
V.24 rate adaption to ISDN.
Definition at line 211 of file CDCDescriptors.h.
#define CDC_PROTOCOL_V25TER 0x01 |
Common AT commands.
Definition at line 198 of file CDCDescriptors.h.
#define CDC_PROTOCOL_V42BIS 0x90 |
Data compression procedures.
Definition at line 209 of file CDCDescriptors.h.
#define CDC_SUBCLASS_ACM 0x02 |
Abstract Control Model.
Definition at line 188 of file CDCDescriptors.h.
#define CDC_SUBCLASS_ATM 0x07 |
ATM Networking Control Model.
Definition at line 193 of file CDCDescriptors.h.
#define CDC_SUBCLASS_CCM 0x05 |
CAPI Control Model.
Definition at line 191 of file CDCDescriptors.h.
#define CDC_SUBCLASS_DLCM 0x01 |
Direct Line Control Model.
Definition at line 187 of file CDCDescriptors.h.
#define CDC_SUBCLASS_ETH 0x06 |
Ethernet Networking Control Model.
Definition at line 192 of file CDCDescriptors.h.
#define CDC_SUBCLASS_MCCM 0x04 |
Multi-Channel Control Model.
Definition at line 190 of file CDCDescriptors.h.
#define CDC_SUBCLASS_TCM 0x03 |
Telephone Control Model.
Definition at line 189 of file CDCDescriptors.h.
struct _CDCHeaderDescriptor __attribute__ | ( | (__packed__) | ) |
USB CDC SerialState struct (bitmap)
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.
lineCoding | Pointer to a CDCLineCoding instance. |
bitrate | Bitrate of the virtual COM connection. |
stopbits | Number of stop bits (USB CDC LineCoding StopBits CDC LineCoding StopBits). |
parity | Parity check type (USB CDC LineCoding ParityCheckings CDC LineCoding ParityChecking). |
databits | Number of data bits. |
Definition at line 58 of file CDCLineCoding.c.
uint8_t CDCSetControlLineStateRequest_ActivateCarrier | ( | const USBGenericRequest * | request | ) |
Notifies if the given request indicates that the device carrier should be activated.
request | Pointer to a USBGenericRequest instance. |
Definition at line 71 of file CDCSetControlLineStateRequest.c.
uint8_t CDCSetControlLineStateRequest_IsDtePresent | ( | const USBGenericRequest * | request | ) |
Notifies if the given request indicates that the DTE signal is present.
request | Pointer to a USBGenericRequest instance. |
Definition at line 54 of file CDCSetControlLineStateRequest.c.
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.