# usb_commun_cdc.h File Reference

This file contains the usb CDC definition constant parameters. More...

Go to the source code of this file.

## Defines
Global Class, SubClass & Protocol constants for CDC
#define | CDC_GLOB_CLASS 0x02
#define | CDC_COMM_CLASS 0x02
#define | CDC_DATA_CLASS 0x0A
#define | CDC_GLOB_SUBCLASS 0x00
#define | CDC_COMM_SUBCLASS 0x02
#define | CDC_DATA_SUBCLASS 0x00
#define | CDC_GLOB_PROTOCOL 0x00
#define | CDC_COMM_PROTOCOL 0x01
#define | CDC_DATA_PROTOCOL 0x00
Specific setup requests from CDC
#define | SETUP_CDC_SEND_ENCAPSULATED_COMMAND 0x00
#define | SETUP_CDC_GET_ENCAPSULATED_RESPONSE 0x01
#define | SETUP_CDC_SET_COMM_FEATURE 0x02
#define | SETUP_CDC_GET_COMM_FEATURE 0x03
#define | SETUP_CDC_CLEAR_COMM_FEATURE 0x04
#define | SETUP_CDC_SET_AUX_LINE_STATE 0x10
#define | SETUP_CDC_SET_HOOK_STATE 0x11
#define | SETUP_CDC_PULSE_SETUP 0x12
#define | SETUP_CDC_SEND_PULSE 0x13
#define | SETUP_CDC_SET_PULSE_TIME 0x14
#define | SETUP_CDC_RING_AUX_JACK 0x15
#define | SETUP_CDC_SET_LINE_CODING 0x20
#define | SETUP_CDC_GET_LINE_CODING 0x21
#define | SETUP_CDC_SET_CONTROL_LINE_STATE 0x22
#define | SETUP_CDC_SEND_BREAK 0x23
#define | SETUP_CDC_SET_RINGER_PARMS 0x30
#define | SETUP_CDC_GET_RINGER_PARMS 0x31
#define | SETUP_CDC_SET_OPERATION_PARMS 0x32
#define | SETUP_CDC_GET_OPERATION_PARMS 0x33
#define | SETUP_CDC_SET_LINE_PARMS 0x34
#define | SETUP_CDC_GET_LINE_PARMS 0x35
#define | SETUP_CDC_DIAL_DIGITS 0x36
#define | SETUP_CDC_SET_UNIT_PARAMETER 0x37
#define | SETUP_CDC_GET_UNIT_PARAMETER 0x38
#define | SETUP_CDC_CLEAR_UNIT_PARAMETER 0x39
#define | SETUP_CDC_GET_PROFILE 0x3A
#define | SETUP_CDC_SET_ETHERNET_MULTICAST_FILTERS 0x40
#define | SETUP_CDC_SET_ETHERNET_POWER_MANAGEMENT_PATTERNFILTER 0x41
#define | SETUP_CDC_GET_ETHERNET_POWER_MANAGEMENT_PATTERNFILTER 0x42
#define | SETUP_CDC_SET_ETHERNET_PACKET_FILTER 0x43
#define | SETUP_CDC_GET_ETHERNET_STATISTIC 0x44
#define | SETUP_CDC_SET_ATM_DATA_FORMAT 0x50
#define | SETUP_CDC_GET_ATM_DEVICE_STATISTICS 0x51
#define | SETUP_CDC_SET_ATM_DEFAULT_VC 0x52
#define | SETUP_CDC_GET_ATM_VC_STATISTICS 0x53
#define | SETUP_CDC_BN_RING_DETECT 0x09
#define | SETUP_CDC_BN_SERIAL_STATE 0x20
#define | SETUP_CDC_BN_CALL_STATE_CHANGE 0x28
#define | SETUP_CDC_BN_LINE_STATE_CHANGE 0x29

## Detailed Description

This file contains the usb CDC definition constant parameters.

- Compiler: IAR EWAVR and GNU GCC for AVR

Author:
  Atmel Corporation: http://www.atmel.com
  Support and FAQ: http://support.atmel.no/

Definition in file usb_commun_cdc.h.

## Define Documentation

#define CDC_GLOB_CLASS 0x02

Definition at line 48 of file usb_commun_cdc.h.

#define CDC_COMM_CLASS 0x02

Definition at line 49 of file usb_commun_cdc.h.

#define CDC_DATA_CLASS 0x0A

Definition at line 50 of file usb_commun_cdc.h.

#define CDC_GLOB_SUBCLASS 0x00

Definition at line 51 of file usb_commun_cdc.h.

#define CDC_COMM_SUBCLASS 0x02

Definition at line 52 of file usb_commun_cdc.h.

#define CDC_DATA_SUBCLASS 0x00

Definition at line 53 of file usb_commun_cdc.h.

#define CDC_GLOB_PROTOCOL 0x00

Definition at line 54 of file usb_commun_cdc.h.

#define CDC_COMM_PROTOCOL 0x01

Definition at line 55 of file usb_commun_cdc.h.

#define CDC_DATA_PROTOCOL 0x00

Definition at line 56 of file usb_commun_cdc.h.

#define SETUP_CDC_SEND_ENCAPSULATED_COMMAND 0x00

Definition at line 61 of file usb_commun_cdc.h.

#define SETUP_CDC_GET_ENCAPSULATED_RESPONSE 0x01

Definition at line 62 of file usb_commun_cdc.h.

#define SETUP_CDC_SET_COMM_FEATURE 0x02

Definition at line 63 of file usb_commun_cdc.h.

#define SETUP_CDC_GET_COMM_FEATURE 0x03

Definition at line 64 of file usb_commun_cdc.h.

#define SETUP_CDC_CLEAR_COMM_FEATURE 0x04

Definition at line 65 of file usb_commun_cdc.h.

#define SETUP_CDC_SET_AUX_LINE_STATE 0x10

Definition at line 66 of file usb_commun_cdc.h.

#define SETUP_CDC_SET_HOOK_STATE 0x11

Definition at line 67 of file usb_commun_cdc.h.

#define SETUP_CDC_PULSE_SETUP 0x12

Definition at line 68 of file usb_commun_cdc.h.

#define SETUP_CDC_SEND_PULSE 0x13

Definition at line 69 of file usb_commun_cdc.h.

#define SETUP_CDC_SET_PULSE_TIME 0x14

Definition at line 70 of file usb_commun_cdc.h.

#define SETUP_CDC_RING_AUX_JACK 0x15

Definition at line 71 of file usb_commun_cdc.h.

#define SETUP_CDC_SET_LINE_CODING 0x20

Definition at line 72 of file usb_commun_cdc.h.

#define SETUP_CDC_GET_LINE_CODING 0x21

Definition at line 73 of file usb_commun_cdc.h.

#define SETUP_CDC_SET_CONTROL_LINE_STATE 0x22

Definition at line 74 of file usb_commun_cdc.h.

#define SETUP_CDC_SEND_BREAK 0x23

Definition at line 75 of file usb_commun_cdc.h.

#define SETUP_CDC_SET_RINGER_PARMS 0x30

Definition at line 76 of file usb_commun_cdc.h.

#define SETUP_CDC_GET_RINGER_PARMS 0x31

Definition at line 77 of file usb_commun_cdc.h.

#define SETUP_CDC_SET_OPERATION_PARMS 0x32

Definition at line 78 of file usb_commun_cdc.h.

#define SETUP_CDC_GET_OPERATION_PARMS 0x33

Definition at line 79 of file usb_commun_cdc.h.

#define SETUP_CDC_SET_LINE_PARMS 0x34

Definition at line 80 of file usb_commun_cdc.h.

#define SETUP_CDC_GET_LINE_PARMS 0x35

Definition at line 81 of file usb_commun_cdc.h.

#define SETUP_CDC_DIAL_DIGITS 0x36

Definition at line 82 of file usb_commun_cdc.h.

#define SETUP_CDC_SET_UNIT_PARAMETER 0x37

Definition at line 83 of file usb_commun_cdc.h.

#define SETUP_CDC_GET_UNIT_PARAMETER 0x38

Definition at line 84 of file usb_commun_cdc.h.

#define SETUP_CDC_CLEAR_UNIT_PARAMETER 0x39

Definition at line 85 of file usb_commun_cdc.h.

#define SETUP_CDC_GET_PROFILE 0x3A

Definition at line 86 of file usb_commun_cdc.h.

#define SETUP_CDC_SET_ETHERNET_MULTICAST_FILTERS 0x40

Definition at line 87 of file usb_commun_cdc.h.

#define SETUP_CDC_SET_ETHERNET_POWER_MANAGEMENT_PATTERNFILTER 0x41

Definition at line 88 of file usb_commun_cdc.h.

#define SETUP_CDC_GET_ETHERNET_POWER_MANAGEMENT_PATTERNFILTER 0x42

Definition at line 89 of file usb_commun_cdc.h.

#define SETUP_CDC_SET_ETHERNET_PACKET_FILTER 0x43

Definition at line 90 of file usb_commun_cdc.h.

#define SETUP_CDC_GET_ETHERNET_STATISTIC 0x44

Definition at line 91 of file usb_commun_cdc.h.

#define SETUP_CDC_SET_ATM_DATA_FORMAT 0x50

Definition at line 92 of file usb_commun_cdc.h.

#define SETUP_CDC_GET_ATM_DEVICE_STATISTICS 0x51

Definition at line 93 of file usb_commun_cdc.h.

#define SETUP_CDC_SET_ATM_DEFAULT_VC 0x52

Definition at line 94 of file usb_commun_cdc.h.

#define SETUP_CDC_GET_ATM_VC_STATISTICS 0x53

Definition at line 95 of file usb_commun_cdc.h.

#define SETUP_CDC_BN_RING_DETECT 0x09

Definition at line 98 of file usb_commun_cdc.h.

#define SETUP_CDC_BN_SERIAL_STATE 0x20

Definition at line 99 of file usb_commun_cdc.h.

#define SETUP_CDC_BN_CALL_STATE_CHANGE 0x28

Definition at line 100 of file usb_commun_cdc.h.

#define SETUP_CDC_BN_LINE_STATE_CHANGE 0x29

Definition at line 101 of file usb_commun_cdc.h.