CDC.h File Reference

Common definitions and declarations for the library USB CDC Class driver. More...

#include "../../USB.h"
#include <string.h>

Defines

#define REQ_GetLineEncoding   0x21
#define REQ_SetLineEncoding   0x20
#define REQ_SetControlLineState   0x22
#define REQ_SendBreak   0x23
#define REQ_SendEncapsulatedCommand   0x00
#define REQ_GetEncapsulatedResponse   0x01
#define NOTIF_SerialState   0x20
#define CDC_CONTROL_LINE_OUT_DTR   (1 << 0)
#define CDC_CONTROL_LINE_OUT_RTS   (1 << 1)
#define CDC_CONTROL_LINE_IN_DCD   (1 << 0)
#define CDC_CONTROL_LINE_IN_DSR   (1 << 1)
#define CDC_CONTROL_LINE_IN_BREAK   (1 << 2)
#define CDC_CONTROL_LINE_IN_RING   (1 << 3)
#define CDC_CONTROL_LINE_IN_FRAMEERROR   (1 << 4)
#define CDC_CONTROL_LINE_IN_PARITYERROR   (1 << 5)
#define CDC_CONTROL_LINE_IN_OVERRUNERROR   (1 << 6)
#define CDC_FUNCTIONAL_DESCRIPTOR(DataSize)

Enumerations

enum  CDC_LineCodingFormats_t {
  CDC_LINEENCODING_OneStopBit = 0,
  CDC_LINEENCODING_OneAndAHalfStopBits = 1,
  CDC_LINEENCODING_TwoStopBits = 2
}
enum  CDC_LineCodingParity_t {
  CDC_PARITY_None = 0,
  CDC_PARITY_Odd = 1,
  CDC_PARITY_Even = 2,
  CDC_PARITY_Mark = 3,
  CDC_PARITY_Space = 4
}

Detailed Description

Common definitions and declarations for the library USB CDC Class driver.

Note:
This file should not be included directly. It is automatically included as needed by the class driver dispatch header located in LUFA/Drivers/USB/Class/CDC.h.
Generated by  doxygen 1.6.3