![]() |
Data Structures | |
struct | _CDCHeaderDescriptor |
struct | _CDCUnionDescriptor |
struct | _CDCCallManagementDescriptor |
struct | _CDCAbstractControlManagementDescriptor |
struct | _CDCSerialState |
struct | _CDCLineCoding |
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 | |
Functions | |
void | CDCLineCoding_Initialize (CDCLineCoding *lineCoding, uint32_t bitrate, uint8_t stopbits, uint8_t parity, uint8_t databits) |
uint8_t | CDCSetControlLineStateRequest_IsDtePresent (const USBGenericRequest *request) |
uint8_t | CDCSetControlLineStateRequest_ActivateCarrier (const USBGenericRequest *request) |
struct _CDCHeaderDescriptor | __attribute__ ((__packed__)) CDCHeaderDescriptor |
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. |
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. |
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. |
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. |