USB Host Shield 2.0
Classes | Macros | Typedefs
cdcacm.h File Reference
#include "Usb.h"
Include dependency graph for cdcacm.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  CALL_MGMNT_FUNC_DESCR
 
struct  ACM_FUNC_DESCR
 
struct  TEL_RINGER_FUNC_DESCR
 
struct  LINE_CODING
 
struct  CLASS_NOTIFICATION
 
class  CDCAsyncOper
 
struct  tty_features
 
class  ACM
 

Macros

#define bmREQ_CDCOUT   USB_SETUP_HOST_TO_DEVICE|USB_SETUP_TYPE_CLASS|USB_SETUP_RECIPIENT_INTERFACE
 
#define bmREQ_CDCIN   USB_SETUP_DEVICE_TO_HOST|USB_SETUP_TYPE_CLASS|USB_SETUP_RECIPIENT_INTERFACE
 
#define CDC_SUBCLASS_DLCM   0x01
 
#define CDC_SUBCLASS_ACM   0x02
 
#define CDC_SUBCLASS_TCM   0x03
 
#define CDC_SUBCLASS_MCCM   0x04
 
#define CDC_SUBCLASS_CAPI   0x05
 
#define CDC_SUBCLASS_ETHERNET   0x06
 
#define CDC_SUBCLASS_ATM   0x07
 
#define CDC_SUBCLASS_WIRELESS_HANDSET   0x08
 
#define CDC_SUBCLASS_DEVICE_MANAGEMENT   0x09
 
#define CDC_SUBCLASS_MOBILE_DIRECT_LINE   0x0A
 
#define CDC_SUBCLASS_OBEX   0x0B
 
#define CDC_SUBCLASS_ETHERNET_EMU   0x0C
 
#define CDC_PROTOCOL_ITU_T_V_250   0x01
 
#define CDC_PROTOCOL_PCCA_101   0x02
 
#define CDC_PROTOCOL_PCCA_101_O   0x03
 
#define CDC_PROTOCOL_GSM_7_07   0x04
 
#define CDC_PROTOCOL_3GPP_27_07   0x05
 
#define CDC_PROTOCOL_C_S0017_0   0x06
 
#define CDC_PROTOCOL_USB_EEM   0x07
 
#define CDC_SEND_ENCAPSULATED_COMMAND   0x00
 
#define CDC_GET_ENCAPSULATED_RESPONSE   0x01
 
#define CDC_SET_COMM_FEATURE   0x02
 
#define CDC_GET_COMM_FEATURE   0x03
 
#define CDC_CLEAR_COMM_FEATURE   0x04
 
#define CDC_SET_AUX_LINE_STATE   0x10
 
#define CDC_SET_HOOK_STATE   0x11
 
#define CDC_PULSE_SETUP   0x12
 
#define CDC_SEND_PULSE   0x13
 
#define CDC_SET_PULSE_TIME   0x14
 
#define CDC_RING_AUX_JACK   0x15
 
#define CDC_SET_LINE_CODING   0x20
 
#define CDC_GET_LINE_CODING   0x21
 
#define CDC_SET_CONTROL_LINE_STATE   0x22
 
#define CDC_SEND_BREAK   0x23
 
#define CDC_SET_RINGER_PARMS   0x30
 
#define CDC_GET_RINGER_PARMS   0x31
 
#define CDC_SET_OPERATION_PARMS   0x32
 
#define CDC_GET_OPERATION_PARMS   0x33
 
#define CDC_SET_LINE_PARMS   0x34
 
#define CDC_GET_LINE_PARMS   0x35
 
#define CDC_DIAL_DIGITS   0x36
 
#define NETWORK_CONNECTION   0x00
 
#define RESPONSE_AVAILABLE   0x01
 
#define AUX_JACK_HOOK_STATE   0x08
 
#define RING_DETECT   0x09
 
#define SERIAL_STATE   0x20
 
#define CALL_STATE_CHANGE   0x28
 
#define LINE_STATE_CHANGE   0x29
 
#define CONNECTION_SPEED_CHANGE   0x2a
 
#define ACM_MAX_ENDPOINTS   4
 

Typedefs

typedef struct ACM_FUNC_DESCR DLM_FUNC_DESCR
 
typedef struct ACM_FUNC_DESCR TEL_OPER_MODES_FUNC_DESCR
 
typedef struct ACM_FUNC_DESCR TEL_CALL_STATE_REP_CPBL_FUNC_DESCR
 

Macro Definition Documentation

◆ bmREQ_CDCOUT

Definition at line 22 of file cdcacm.h.

◆ bmREQ_CDCIN

Definition at line 23 of file cdcacm.h.

◆ CDC_SUBCLASS_DLCM

#define CDC_SUBCLASS_DLCM   0x01

Definition at line 26 of file cdcacm.h.

◆ CDC_SUBCLASS_ACM

#define CDC_SUBCLASS_ACM   0x02

Definition at line 27 of file cdcacm.h.

◆ CDC_SUBCLASS_TCM

#define CDC_SUBCLASS_TCM   0x03

Definition at line 28 of file cdcacm.h.

◆ CDC_SUBCLASS_MCCM

#define CDC_SUBCLASS_MCCM   0x04

Definition at line 29 of file cdcacm.h.

◆ CDC_SUBCLASS_CAPI

#define CDC_SUBCLASS_CAPI   0x05

Definition at line 30 of file cdcacm.h.

◆ CDC_SUBCLASS_ETHERNET

#define CDC_SUBCLASS_ETHERNET   0x06

Definition at line 31 of file cdcacm.h.

◆ CDC_SUBCLASS_ATM

#define CDC_SUBCLASS_ATM   0x07

Definition at line 32 of file cdcacm.h.

◆ CDC_SUBCLASS_WIRELESS_HANDSET

#define CDC_SUBCLASS_WIRELESS_HANDSET   0x08

Definition at line 33 of file cdcacm.h.

◆ CDC_SUBCLASS_DEVICE_MANAGEMENT

#define CDC_SUBCLASS_DEVICE_MANAGEMENT   0x09

Definition at line 34 of file cdcacm.h.

◆ CDC_SUBCLASS_MOBILE_DIRECT_LINE

#define CDC_SUBCLASS_MOBILE_DIRECT_LINE   0x0A

Definition at line 35 of file cdcacm.h.

◆ CDC_SUBCLASS_OBEX

#define CDC_SUBCLASS_OBEX   0x0B

Definition at line 36 of file cdcacm.h.

◆ CDC_SUBCLASS_ETHERNET_EMU

#define CDC_SUBCLASS_ETHERNET_EMU   0x0C

Definition at line 37 of file cdcacm.h.

◆ CDC_PROTOCOL_ITU_T_V_250

#define CDC_PROTOCOL_ITU_T_V_250   0x01

Definition at line 40 of file cdcacm.h.

◆ CDC_PROTOCOL_PCCA_101

#define CDC_PROTOCOL_PCCA_101   0x02

Definition at line 41 of file cdcacm.h.

◆ CDC_PROTOCOL_PCCA_101_O

#define CDC_PROTOCOL_PCCA_101_O   0x03

Definition at line 42 of file cdcacm.h.

◆ CDC_PROTOCOL_GSM_7_07

#define CDC_PROTOCOL_GSM_7_07   0x04

Definition at line 43 of file cdcacm.h.

◆ CDC_PROTOCOL_3GPP_27_07

#define CDC_PROTOCOL_3GPP_27_07   0x05

Definition at line 44 of file cdcacm.h.

◆ CDC_PROTOCOL_C_S0017_0

#define CDC_PROTOCOL_C_S0017_0   0x06

Definition at line 45 of file cdcacm.h.

◆ CDC_PROTOCOL_USB_EEM

#define CDC_PROTOCOL_USB_EEM   0x07

Definition at line 46 of file cdcacm.h.

◆ CDC_SEND_ENCAPSULATED_COMMAND

#define CDC_SEND_ENCAPSULATED_COMMAND   0x00

Definition at line 49 of file cdcacm.h.

◆ CDC_GET_ENCAPSULATED_RESPONSE

#define CDC_GET_ENCAPSULATED_RESPONSE   0x01

Definition at line 50 of file cdcacm.h.

◆ CDC_SET_COMM_FEATURE

#define CDC_SET_COMM_FEATURE   0x02

Definition at line 53 of file cdcacm.h.

◆ CDC_GET_COMM_FEATURE

#define CDC_GET_COMM_FEATURE   0x03

Definition at line 54 of file cdcacm.h.

◆ CDC_CLEAR_COMM_FEATURE

#define CDC_CLEAR_COMM_FEATURE   0x04

Definition at line 55 of file cdcacm.h.

◆ CDC_SET_AUX_LINE_STATE

#define CDC_SET_AUX_LINE_STATE   0x10

Definition at line 56 of file cdcacm.h.

◆ CDC_SET_HOOK_STATE

#define CDC_SET_HOOK_STATE   0x11

Definition at line 57 of file cdcacm.h.

◆ CDC_PULSE_SETUP

#define CDC_PULSE_SETUP   0x12

Definition at line 58 of file cdcacm.h.

◆ CDC_SEND_PULSE

#define CDC_SEND_PULSE   0x13

Definition at line 59 of file cdcacm.h.

◆ CDC_SET_PULSE_TIME

#define CDC_SET_PULSE_TIME   0x14

Definition at line 60 of file cdcacm.h.

◆ CDC_RING_AUX_JACK

#define CDC_RING_AUX_JACK   0x15

Definition at line 61 of file cdcacm.h.

◆ CDC_SET_LINE_CODING

#define CDC_SET_LINE_CODING   0x20

Definition at line 62 of file cdcacm.h.

◆ CDC_GET_LINE_CODING

#define CDC_GET_LINE_CODING   0x21

Definition at line 63 of file cdcacm.h.

◆ CDC_SET_CONTROL_LINE_STATE

#define CDC_SET_CONTROL_LINE_STATE   0x22

Definition at line 64 of file cdcacm.h.

◆ CDC_SEND_BREAK

#define CDC_SEND_BREAK   0x23

Definition at line 65 of file cdcacm.h.

◆ CDC_SET_RINGER_PARMS

#define CDC_SET_RINGER_PARMS   0x30

Definition at line 66 of file cdcacm.h.

◆ CDC_GET_RINGER_PARMS

#define CDC_GET_RINGER_PARMS   0x31

Definition at line 67 of file cdcacm.h.

◆ CDC_SET_OPERATION_PARMS

#define CDC_SET_OPERATION_PARMS   0x32

Definition at line 68 of file cdcacm.h.

◆ CDC_GET_OPERATION_PARMS

#define CDC_GET_OPERATION_PARMS   0x33

Definition at line 69 of file cdcacm.h.

◆ CDC_SET_LINE_PARMS

#define CDC_SET_LINE_PARMS   0x34

Definition at line 70 of file cdcacm.h.

◆ CDC_GET_LINE_PARMS

#define CDC_GET_LINE_PARMS   0x35

Definition at line 71 of file cdcacm.h.

◆ CDC_DIAL_DIGITS

#define CDC_DIAL_DIGITS   0x36

Definition at line 72 of file cdcacm.h.

◆ NETWORK_CONNECTION

#define NETWORK_CONNECTION   0x00

Definition at line 75 of file cdcacm.h.

◆ RESPONSE_AVAILABLE

#define RESPONSE_AVAILABLE   0x01

Definition at line 76 of file cdcacm.h.

◆ AUX_JACK_HOOK_STATE

#define AUX_JACK_HOOK_STATE   0x08

Definition at line 77 of file cdcacm.h.

◆ RING_DETECT

#define RING_DETECT   0x09

Definition at line 78 of file cdcacm.h.

◆ SERIAL_STATE

#define SERIAL_STATE   0x20

Definition at line 79 of file cdcacm.h.

◆ CALL_STATE_CHANGE

#define CALL_STATE_CHANGE   0x28

Definition at line 80 of file cdcacm.h.

◆ LINE_STATE_CHANGE

#define LINE_STATE_CHANGE   0x29

Definition at line 81 of file cdcacm.h.

◆ CONNECTION_SPEED_CHANGE

#define CONNECTION_SPEED_CHANGE   0x2a

Definition at line 82 of file cdcacm.h.

◆ ACM_MAX_ENDPOINTS

#define ACM_MAX_ENDPOINTS   4

Definition at line 161 of file cdcacm.h.

Typedef Documentation

◆ DLM_FUNC_DESCR

◆ TEL_OPER_MODES_FUNC_DESCR

◆ TEL_CALL_STATE_REP_CPBL_FUNC_DESCR