Go to the source code of this file.
Classes | |
struct | _CDCLineCoding |
Macros | |
#define | CDCControlLineState_CARRIER_ON (1 << 1) |
#define | CDCControlLineState_DTE_PRESENT (1 << 0) |
#define | CDCControlLineState_DTR (1 << 0) |
#define | CDCControlLineState_RTS (1 << 1) |
#define | CDCGenericRequest_GETLINECODING 0x21 |
#define | CDCGenericRequest_SETCONTROLLINESTATE 0x22 |
#define | CDCGenericRequest_SETLINECODING 0x20 |
#define | CDCLineCoding_EVENPARITY 2 |
#define | CDCLineCoding_MARKPARITY 3 |
#define | CDCLineCoding_NOPARITY 0 |
#define | CDCLineCoding_ODDPARITY 1 |
#define | CDCLineCoding_ONE5STOPBIT 1 |
#define | CDCLineCoding_ONESTOPBIT 0 |
#define | CDCLineCoding_SPACEPARITY 4 |
#define | CDCLineCoding_TWOSTOPBITS 2 |
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 | |
uint8_t | bCharFormat |
uint8_t | bDataBits |
uint8_t | bParityType |
uint32_t | dwDTERate |
Definitions and classes for USB CDC class requests (mostly for ACM).
Definition in file CDCRequests.h.
uint8_t bCharFormat |
Number of stop bits.
Definition at line 139 of file CDCRequests.h.
uint8_t bDataBits |
Number of data bits (5, 6, 7, 8 or 16).
Definition at line 144 of file CDCRequests.h.
uint8_t bParityType |
Type of parity checking used.
Definition at line 142 of file CDCRequests.h.
uint32_t dwDTERate |
Data terminal rate in bits per second.
Definition at line 136 of file CDCRequests.h.