Open FFBoard
Open source force feedback firmware
Communication Device Class (CDC)

Modules

 Remote Network Driver Interface Specification (RNDIS)
 

Classes

struct  TU_ATTR_PACKED
 AUDIO Channel Cluster Descriptor (4.1) More...
 

Typedefs

typedef TU_ATTR_PACKED_BEGIN TU_ATTR_BIT_FIELD_ORDER_BEGIN struct TU_ATTR_PACKED cdc_desc_func_header_t
 Header Functional Descriptor (Communication Interface) More...
 
typedef struct TU_ATTR_PACKED cdc_desc_func_union_t
 Union Functional Descriptor (Communication Interface) More...
 
typedef struct TU_ATTR_PACKED cdc_desc_func_country_selection_t
 Country Selection Functional Descriptor (Communication Interface) More...
 
typedef struct TU_ATTR_PACKED cdc_desc_func_call_management_t
 Call Management Functional Descriptor. More...
 
typedef struct TU_ATTR_PACKED cdc_acm_capability_t
 
typedef struct TU_ATTR_PACKED cdc_desc_func_acm_t
 
typedef struct TU_ATTR_PACKED cdc_desc_func_direct_line_management_t
 Direct Line Management Functional Descriptor. More...
 
typedef struct TU_ATTR_PACKED cdc_desc_func_telephone_ringer_t
 Telephone Ringer Functional Descriptor. More...
 
typedef struct TU_ATTR_PACKED cdc_desc_func_telephone_operational_modes_t
 Telephone Operational Modes Functional Descriptor. More...
 
typedef struct TU_ATTR_PACKED cdc_desc_func_telephone_call_state_reporting_capabilities_t
 Telephone Call and Line State Reporting Capabilities Descriptor. More...
 
typedef struct TU_ATTR_PACKED cdc_line_coding_t
 
typedef struct TU_ATTR_PACKED cdc_line_control_state_t
 
typedef struct TU_ATTR_PACKED midi_desc_header_t
 MIDI Interface Header Descriptor. More...
 
typedef struct TU_ATTR_PACKED midi_desc_in_jack_t
 MIDI In Jack Descriptor. More...
 
typedef struct TU_ATTR_PACKED midi_desc_out_jack_t
 MIDI Out Jack Descriptor with single pin. More...
 
typedef struct TU_ATTR_PACKED midi_desc_element_t
 MIDI Element Descriptor. More...
 

Enumerations

enum  cdc_comm_protocol_type_t {
  CDC_COMM_PROTOCOL_NONE = 0x00 , CDC_COMM_PROTOCOL_ATCOMMAND = 0x01 , CDC_COMM_PROTOCOL_ATCOMMAND_PCCA_101 = 0x02 , CDC_COMM_PROTOCOL_ATCOMMAND_PCCA_101_AND_ANNEXO = 0x03 ,
  CDC_COMM_PROTOCOL_ATCOMMAND_GSM_707 = 0x04 , CDC_COMM_PROTOCOL_ATCOMMAND_3GPP_27007 = 0x05 , CDC_COMM_PROTOCOL_ATCOMMAND_CDMA = 0x06 , CDC_COMM_PROTOCOL_ETHERNET_EMULATION_MODEL = 0x07
}
 Communication Interface Protocol Codes. More...
 
enum  cdc_func_desc_type_t {
  CDC_FUNC_DESC_HEADER = 0x00 , CDC_FUNC_DESC_CALL_MANAGEMENT = 0x01 , CDC_FUNC_DESC_ABSTRACT_CONTROL_MANAGEMENT = 0x02 , CDC_FUNC_DESC_DIRECT_LINE_MANAGEMENT = 0x03 ,
  CDC_FUNC_DESC_TELEPHONE_RINGER = 0x04 , CDC_FUNC_DESC_TELEPHONE_CALL_AND_LINE_STATE_REPORTING_CAPACITY = 0x05 , CDC_FUNC_DESC_UNION = 0x06 , CDC_FUNC_DESC_COUNTRY_SELECTION = 0x07 ,
  CDC_FUNC_DESC_TELEPHONE_OPERATIONAL_MODES = 0x08 , CDC_FUNC_DESC_USB_TERMINAL = 0x09 , CDC_FUNC_DESC_NETWORK_CHANNEL_TERMINAL = 0x0A , CDC_FUNC_DESC_PROTOCOL_UNIT = 0x0B ,
  CDC_FUNC_DESC_EXTENSION_UNIT = 0x0C , CDC_FUNC_DESC_MULTICHANEL_MANAGEMENT = 0x0D , CDC_FUNC_DESC_CAPI_CONTROL_MANAGEMENT = 0x0E , CDC_FUNC_DESC_ETHERNET_NETWORKING = 0x0F ,
  CDC_FUNC_DESC_ATM_NETWORKING = 0x10 , CDC_FUNC_DESC_WIRELESS_HANDSET_CONTROL_MODEL = 0x11 , CDC_FUNC_DESC_MOBILE_DIRECT_LINE_MODEL = 0x12 , CDC_FUNC_DESC_MOBILE_DIRECT_LINE_MODEL_DETAIL = 0x13 ,
  CDC_FUNC_DESC_DEVICE_MANAGEMENT_MODEL = 0x14 , CDC_FUNC_DESC_OBEX = 0x15 , CDC_FUNC_DESC_COMMAND_SET = 0x16 , CDC_FUNC_DESC_COMMAND_SET_DETAIL = 0x17 ,
  CDC_FUNC_DESC_TELEPHONE_CONTROL_MODEL = 0x18 , CDC_FUNC_DESC_OBEX_SERVICE_IDENTIFIER = 0x19 , CDC_FUNC_DESC_NCM = 0x1A
}
 Communication Interface SubType Descriptor. More...
 
enum  cdc_data_protocol_type_t {
  CDC_DATA_PROTOCOL_ISDN_BRI = 0x30 , CDC_DATA_PROTOCOL_HDLC = 0x31 , CDC_DATA_PROTOCOL_TRANSPARENT = 0x32 , CDC_DATA_PROTOCOL_Q921_MANAGEMENT = 0x50 ,
  CDC_DATA_PROTOCOL_Q921_DATA_LINK = 0x51 , CDC_DATA_PROTOCOL_Q921_TEI_MULTIPLEXOR = 0x52 , CDC_DATA_PROTOCOL_V42BIS_DATA_COMPRESSION = 0x90 , CDC_DATA_PROTOCOL_EURO_ISDN = 0x91 ,
  CDC_DATA_PROTOCOL_V24_RATE_ADAPTION_TO_ISDN = 0x92 , CDC_DATA_PROTOCOL_CAPI_COMMAND = 0x93 , CDC_DATA_PROTOCOL_HOST_BASED_DRIVER = 0xFD , CDC_DATA_PROTOCOL_IN_PROTOCOL_UNIT_FUNCTIONAL_DESCRIPTOR = 0xFE
}
 
enum  cdc_management_request_t {
  CDC_REQUEST_SEND_ENCAPSULATED_COMMAND = 0x00 , CDC_REQUEST_GET_ENCAPSULATED_RESPONSE = 0x01 , CDC_REQUEST_SET_COMM_FEATURE = 0x02 , CDC_REQUEST_GET_COMM_FEATURE = 0x03 ,
  CDC_REQUEST_CLEAR_COMM_FEATURE = 0x04 , CDC_REQUEST_SET_AUX_LINE_STATE = 0x10 , CDC_REQUEST_SET_HOOK_STATE = 0x11 , CDC_REQUEST_PULSE_SETUP = 0x12 ,
  CDC_REQUEST_SEND_PULSE = 0x13 , CDC_REQUEST_SET_PULSE_TIME = 0x14 , CDC_REQUEST_RING_AUX_JACK = 0x15 , CDC_REQUEST_SET_LINE_CODING = 0x20 ,
  CDC_REQUEST_GET_LINE_CODING = 0x21 , CDC_REQUEST_SET_CONTROL_LINE_STATE = 0x22 , CDC_REQUEST_SEND_BREAK = 0x23 , CDC_REQUEST_SET_RINGER_PARMS = 0x30 ,
  CDC_REQUEST_GET_RINGER_PARMS = 0x31 , CDC_REQUEST_SET_OPERATION_PARMS = 0x32 , CDC_REQUEST_GET_OPERATION_PARMS = 0x33 , CDC_REQUEST_SET_LINE_PARMS = 0x34 ,
  CDC_REQUEST_GET_LINE_PARMS = 0x35 , CDC_REQUEST_DIAL_DIGITS = 0x36 , CDC_REQUEST_SET_UNIT_PARAMETER = 0x37 , CDC_REQUEST_GET_UNIT_PARAMETER = 0x38 ,
  CDC_REQUEST_CLEAR_UNIT_PARAMETER = 0x39 , CDC_REQUEST_GET_PROFILE = 0x3A , CDC_REQUEST_SET_ETHERNET_MULTICAST_FILTERS = 0x40 , CDC_REQUEST_SET_ETHERNET_POWER_MANAGEMENT_PATTERN_FILTER = 0x41 ,
  CDC_REQUEST_GET_ETHERNET_POWER_MANAGEMENT_PATTERN_FILTER = 0x42 , CDC_REQUEST_SET_ETHERNET_PACKET_FILTER = 0x43 , CDC_REQUEST_GET_ETHERNET_STATISTIC = 0x44 , CDC_REQUEST_SET_ATM_DATA_FORMAT = 0x50 ,
  CDC_REQUEST_GET_ATM_DEVICE_STATISTICS = 0x51 , CDC_REQUEST_SET_ATM_DEFAULT_VC = 0x52 , CDC_REQUEST_GET_ATM_VC_STATISTICS = 0x53 , CDC_REQUEST_MDLM_SEMANTIC_MODEL = 0x60
}
 Communication Interface Management Element Request Codes. More...
 
enum  cdc_control_line_state_t { CDC_CONTROL_LINE_STATE_DTR = 0x01 , CDC_CONTROL_LINE_STATE_RTS = 0x02 }
 
enum  cdc_line_coding_stopbits_t { CDC_LINE_CODING_STOP_BITS_1 = 0 , CDC_LINE_CODING_STOP_BITS_1_5 = 1 , CDC_LINE_CODING_STOP_BITS_2 = 2 }
 
enum  cdc_line_coding_parity_t {
  CDC_LINE_CODING_PARITY_NONE = 0 , CDC_LINE_CODING_PARITY_ODD = 1 , CDC_LINE_CODING_PARITY_EVEN = 2 , CDC_LINE_CODING_PARITY_MARK = 3 ,
  CDC_LINE_CODING_PARITY_SPACE = 4
}
 
enum  cdc_notification_request_t {
  CDC_NOTIF_NETWORK_CONNECTION = 0x00 , CDC_NOTIF_RESPONSE_AVAILABLE = 0x01 , CDC_NOTIF_AUX_JACK_HOOK_STATE = 0x08 , CDC_NOTIF_RING_DETECT = 0x09 ,
  CDC_NOTIF_SERIAL_STATE = 0x20 , CDC_NOTIF_CALL_STATE_CHANGE = 0x28 , CDC_NOTIF_LINE_STATE_CHANGE = 0x29 , CDC_NOTIF_CONNECTION_SPEED_CHANGE = 0x2A ,
  CDC_NOTIF_MDLM_SEMANTIC_MODEL_NOTIFICATION = 0x40
}
 6.3 Notification Codes More...
 
enum  midi_cs_endpoint_subtype_t { MIDI_CS_ENDPOINT_GENERAL = 0x01 }
 
enum  midi_jack_type_t { MIDI_JACK_EMBEDDED = 0x01 , MIDI_JACK_EXTERNAL = 0x02 }
 
enum  midi_code_index_number_t {
  MIDI_CIN_MISC = 0 , MIDI_CIN_CABLE_EVENT = 1 , MIDI_CIN_SYSCOM_2BYTE = 2 , MIDI_CIN_SYSCOM_3BYTE = 3 ,
  MIDI_CIN_SYSEX_START = 4 , MIDI_CIN_SYSEX_END_1BYTE = 5 , MIDI_CIN_SYSEX_END_2BYTE = 6 , MIDI_CIN_SYSEX_END_3BYTE = 7 ,
  MIDI_CIN_NOTE_OFF = 8 , MIDI_CIN_NOTE_ON = 9 , MIDI_CIN_POLY_KEYPRESS = 10 , MIDI_CIN_CONTROL_CHANGE = 11 ,
  MIDI_CIN_PROGRAM_CHANGE = 12 , MIDI_CIN_CHANNEL_PRESSURE = 13 , MIDI_CIN_PITCH_BEND_CHANGE = 14 , MIDI_CIN_1BYTE_DATA = 15
}
 
enum  {
  MIDI_STATUS_SYSEX_START = 0xF0 , MIDI_STATUS_SYSEX_END = 0xF7 , MIDI_STATUS_SYSCOM_TIME_CODE_QUARTER_FRAME = 0xF1 , MIDI_STATUS_SYSCOM_SONG_POSITION_POINTER = 0xF2 ,
  MIDI_STATUS_SYSCOM_SONG_SELECT = 0xF3 , MIDI_STATUS_SYSCOM_TUNE_REQUEST = 0xF6 , MIDI_STATUS_SYSREAL_TIMING_CLOCK = 0xF8 , MIDI_STATUS_SYSREAL_START = 0xFA ,
  MIDI_STATUS_SYSREAL_CONTINUE = 0xFB , MIDI_STATUS_SYSREAL_STOP = 0xFC , MIDI_STATUS_SYSREAL_ACTIVE_SENSING = 0xFE , MIDI_STATUS_SYSREAL_SYSTEM_RESET = 0xFF
}
 

Functions

 TU_VERIFY_STATIC (sizeof(cdc_acm_capability_t)==1, "mostly problem with compiler")
 
static uint8_t cdc_functional_desc_typeof (uint8_t const *p_desc)
 
 TU_VERIFY_STATIC (sizeof(cdc_line_coding_t)==7, "size is not correct")
 

Variables

 C
 
 C
 

Detailed Description

Currently only Abstract Control Model subclass is supported

Typedef Documentation

◆ cdc_acm_capability_t

◆ cdc_desc_func_acm_t

Abstract Control Management Functional Descriptor This functional descriptor describes the commands supported by by the Communications Class interface with SubClass code of CDC_COMM_SUBCLASS_ABSTRACT_CONTROL_MODEL

◆ cdc_desc_func_call_management_t

Call Management Functional Descriptor.

This functional descriptor describes the processing of calls for the Communications Class interface.

◆ cdc_desc_func_country_selection_t

Country Selection Functional Descriptor (Communication Interface)

◆ cdc_desc_func_direct_line_management_t

Direct Line Management Functional Descriptor.

This functional descriptor describes the commands supported by the Communications Class interface with SubClass code of CDC_FUNC_DESC_DIRECT_LINE_MANAGEMENT

◆ cdc_desc_func_header_t

typedef TU_ATTR_PACKED_BEGIN TU_ATTR_BIT_FIELD_ORDER_BEGIN struct TU_ATTR_PACKED cdc_desc_func_header_t

Header Functional Descriptor (Communication Interface)

◆ cdc_desc_func_telephone_call_state_reporting_capabilities_t

Telephone Call and Line State Reporting Capabilities Descriptor.

The Telephone Call and Line State Reporting Capabilities functional descriptor describes the abilities of a telephone device to report optional call and line states.

◆ cdc_desc_func_telephone_operational_modes_t

Telephone Operational Modes Functional Descriptor.

The Telephone Operational Modes functional descriptor describes the operational modes supported by the Communications Class interface, with the SubClass code of CDC_COMM_SUBCLASS_TELEPHONE_CONTROL_MODEL

◆ cdc_desc_func_telephone_ringer_t

Telephone Ringer Functional Descriptor.

The Telephone Ringer functional descriptor describes the ringer capabilities supported by the Communications Class interface, with the SubClass code of CDC_COMM_SUBCLASS_TELEPHONE_CONTROL_MODEL

◆ cdc_desc_func_union_t

Union Functional Descriptor (Communication Interface)

◆ cdc_line_coding_t

◆ cdc_line_control_state_t

◆ midi_desc_element_t

MIDI Element Descriptor.

◆ midi_desc_header_t

MIDI Interface Header Descriptor.

◆ midi_desc_in_jack_t

MIDI In Jack Descriptor.

◆ midi_desc_out_jack_t

MIDI Out Jack Descriptor with single pin.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
MIDI_STATUS_SYSEX_START 
MIDI_STATUS_SYSEX_END 
MIDI_STATUS_SYSCOM_TIME_CODE_QUARTER_FRAME 
MIDI_STATUS_SYSCOM_SONG_POSITION_POINTER 
MIDI_STATUS_SYSCOM_SONG_SELECT 
MIDI_STATUS_SYSCOM_TUNE_REQUEST 
MIDI_STATUS_SYSREAL_TIMING_CLOCK 
MIDI_STATUS_SYSREAL_START 
MIDI_STATUS_SYSREAL_CONTINUE 
MIDI_STATUS_SYSREAL_STOP 
MIDI_STATUS_SYSREAL_ACTIVE_SENSING 
MIDI_STATUS_SYSREAL_SYSTEM_RESET 

Definition at line 85 of file midi.h.

◆ cdc_comm_protocol_type_t

Communication Interface Protocol Codes.

Enumerator
CDC_COMM_PROTOCOL_NONE 

No specific protocol.

CDC_COMM_PROTOCOL_ATCOMMAND 

AT Commands: V.250 etc.

CDC_COMM_PROTOCOL_ATCOMMAND_PCCA_101 

AT Commands defined by PCCA-101.

CDC_COMM_PROTOCOL_ATCOMMAND_PCCA_101_AND_ANNEXO 

AT Commands defined by PCCA-101 & Annex O.

CDC_COMM_PROTOCOL_ATCOMMAND_GSM_707 

AT Commands defined by GSM 07.07.

CDC_COMM_PROTOCOL_ATCOMMAND_3GPP_27007 

AT Commands defined by 3GPP 27.007.

CDC_COMM_PROTOCOL_ATCOMMAND_CDMA 

AT Commands defined by TIA for CDMA.

CDC_COMM_PROTOCOL_ETHERNET_EMULATION_MODEL 

Ethernet Emulation Model.

Definition at line 67 of file cdc.h.

◆ cdc_control_line_state_t

Enumerator
CDC_CONTROL_LINE_STATE_DTR 
CDC_CONTROL_LINE_STATE_RTS 

Definition at line 184 of file cdc.h.

◆ cdc_data_protocol_type_t

Enumerator
CDC_DATA_PROTOCOL_ISDN_BRI 

Physical interface protocol for ISDN BRI.

CDC_DATA_PROTOCOL_HDLC 

HDLC.

CDC_DATA_PROTOCOL_TRANSPARENT 

Transparent.

CDC_DATA_PROTOCOL_Q921_MANAGEMENT 

Management protocol for Q.921 data link protocol.

CDC_DATA_PROTOCOL_Q921_DATA_LINK 

Data link protocol for Q.931.

CDC_DATA_PROTOCOL_Q921_TEI_MULTIPLEXOR 

TEI-multiplexor for Q.921 data link protocol.

CDC_DATA_PROTOCOL_V42BIS_DATA_COMPRESSION 

Data compression procedures.

CDC_DATA_PROTOCOL_EURO_ISDN 

Euro-ISDN protocol control.

CDC_DATA_PROTOCOL_V24_RATE_ADAPTION_TO_ISDN 

V.24 rate adaptation to ISDN.

CDC_DATA_PROTOCOL_CAPI_COMMAND 

CAPI Commands.

CDC_DATA_PROTOCOL_HOST_BASED_DRIVER 

Host based driver. Note: This protocol code should only be used in messages between host and device to identify the host driver portion of a protocol stack.

CDC_DATA_PROTOCOL_IN_PROTOCOL_UNIT_FUNCTIONAL_DESCRIPTOR 

The protocol(s) are described using a ProtocolUnit Functional Descriptors on Communications Class Interface.

Definition at line 119 of file cdc.h.

◆ cdc_func_desc_type_t

Communication Interface SubType Descriptor.

Enumerator
CDC_FUNC_DESC_HEADER 

Header Functional Descriptor, which marks the beginning of the concatenated set of functional descriptors for the interface.

CDC_FUNC_DESC_CALL_MANAGEMENT 

Call Management Functional Descriptor.

CDC_FUNC_DESC_ABSTRACT_CONTROL_MANAGEMENT 

Abstract Control Management Functional Descriptor.

CDC_FUNC_DESC_DIRECT_LINE_MANAGEMENT 

Direct Line Management Functional Descriptor.

CDC_FUNC_DESC_TELEPHONE_RINGER 

Telephone Ringer Functional Descriptor.

CDC_FUNC_DESC_TELEPHONE_CALL_AND_LINE_STATE_REPORTING_CAPACITY 

Telephone Call and Line State Reporting Capabilities Functional Descriptor.

CDC_FUNC_DESC_UNION 

Union Functional Descriptor.

CDC_FUNC_DESC_COUNTRY_SELECTION 

Country Selection Functional Descriptor.

CDC_FUNC_DESC_TELEPHONE_OPERATIONAL_MODES 

Telephone Operational ModesFunctional Descriptor.

CDC_FUNC_DESC_USB_TERMINAL 

USB Terminal Functional Descriptor.

CDC_FUNC_DESC_NETWORK_CHANNEL_TERMINAL 

Network Channel Terminal Descriptor.

CDC_FUNC_DESC_PROTOCOL_UNIT 

Protocol Unit Functional Descriptor.

CDC_FUNC_DESC_EXTENSION_UNIT 

Extension Unit Functional Descriptor.

CDC_FUNC_DESC_MULTICHANEL_MANAGEMENT 

Multi-Channel Management Functional Descriptor.

CDC_FUNC_DESC_CAPI_CONTROL_MANAGEMENT 

CAPI Control Management Functional Descriptor.

CDC_FUNC_DESC_ETHERNET_NETWORKING 

Ethernet Networking Functional Descriptor.

CDC_FUNC_DESC_ATM_NETWORKING 

ATM Networking Functional Descriptor.

CDC_FUNC_DESC_WIRELESS_HANDSET_CONTROL_MODEL 

Wireless Handset Control Model Functional Descriptor.

CDC_FUNC_DESC_MOBILE_DIRECT_LINE_MODEL 

Mobile Direct Line Model Functional Descriptor.

CDC_FUNC_DESC_MOBILE_DIRECT_LINE_MODEL_DETAIL 

MDLM Detail Functional Descriptor.

CDC_FUNC_DESC_DEVICE_MANAGEMENT_MODEL 

Device Management Model Functional Descriptor.

CDC_FUNC_DESC_OBEX 

OBEX Functional Descriptor.

CDC_FUNC_DESC_COMMAND_SET 

Command Set Functional Descriptor.

CDC_FUNC_DESC_COMMAND_SET_DETAIL 

Command Set Detail Functional Descriptor.

CDC_FUNC_DESC_TELEPHONE_CONTROL_MODEL 

Telephone Control Model Functional Descriptor.

CDC_FUNC_DESC_OBEX_SERVICE_IDENTIFIER 

OBEX Service Identifier Functional Descriptor.

CDC_FUNC_DESC_NCM 

NCM Functional Descriptor.

Definition at line 81 of file cdc.h.

◆ cdc_line_coding_parity_t

Enumerator
CDC_LINE_CODING_PARITY_NONE 
CDC_LINE_CODING_PARITY_ODD 
CDC_LINE_CODING_PARITY_EVEN 
CDC_LINE_CODING_PARITY_MARK 
CDC_LINE_CODING_PARITY_SPACE 

Definition at line 200 of file cdc.h.

◆ cdc_line_coding_stopbits_t

Enumerator
CDC_LINE_CODING_STOP_BITS_1 
CDC_LINE_CODING_STOP_BITS_1_5 
CDC_LINE_CODING_STOP_BITS_2 

Definition at line 189 of file cdc.h.

◆ cdc_management_request_t

Communication Interface Management Element Request Codes.

Enumerator
CDC_REQUEST_SEND_ENCAPSULATED_COMMAND 

is used to issue a command in the format of the supported control protocol of the Communications Class interface

CDC_REQUEST_GET_ENCAPSULATED_RESPONSE 

is used to request a response in the format of the supported control protocol of the Communications Class interface.

CDC_REQUEST_SET_COMM_FEATURE 
CDC_REQUEST_GET_COMM_FEATURE 
CDC_REQUEST_CLEAR_COMM_FEATURE 
CDC_REQUEST_SET_AUX_LINE_STATE 
CDC_REQUEST_SET_HOOK_STATE 
CDC_REQUEST_PULSE_SETUP 
CDC_REQUEST_SEND_PULSE 
CDC_REQUEST_SET_PULSE_TIME 
CDC_REQUEST_RING_AUX_JACK 
CDC_REQUEST_SET_LINE_CODING 
CDC_REQUEST_GET_LINE_CODING 
CDC_REQUEST_SET_CONTROL_LINE_STATE 
CDC_REQUEST_SEND_BREAK 
CDC_REQUEST_SET_RINGER_PARMS 
CDC_REQUEST_GET_RINGER_PARMS 
CDC_REQUEST_SET_OPERATION_PARMS 
CDC_REQUEST_GET_OPERATION_PARMS 
CDC_REQUEST_SET_LINE_PARMS 
CDC_REQUEST_GET_LINE_PARMS 
CDC_REQUEST_DIAL_DIGITS 
CDC_REQUEST_SET_UNIT_PARAMETER 
CDC_REQUEST_GET_UNIT_PARAMETER 
CDC_REQUEST_CLEAR_UNIT_PARAMETER 
CDC_REQUEST_GET_PROFILE 
CDC_REQUEST_SET_ETHERNET_MULTICAST_FILTERS 
CDC_REQUEST_SET_ETHERNET_POWER_MANAGEMENT_PATTERN_FILTER 
CDC_REQUEST_GET_ETHERNET_POWER_MANAGEMENT_PATTERN_FILTER 
CDC_REQUEST_SET_ETHERNET_PACKET_FILTER 
CDC_REQUEST_GET_ETHERNET_STATISTIC 
CDC_REQUEST_SET_ATM_DATA_FORMAT 
CDC_REQUEST_GET_ATM_DEVICE_STATISTICS 
CDC_REQUEST_SET_ATM_DEFAULT_VC 
CDC_REQUEST_GET_ATM_VC_STATISTICS 
CDC_REQUEST_MDLM_SEMANTIC_MODEL 

Definition at line 139 of file cdc.h.

◆ cdc_notification_request_t

6.3 Notification Codes

Enumerator
CDC_NOTIF_NETWORK_CONNECTION 

This notification allows the device to notify the host about network connection status.

CDC_NOTIF_RESPONSE_AVAILABLE 

This notification allows the device to notify the hostthat a response is available. This response can be retrieved with a subsequent CDC_REQUEST_GET_ENCAPSULATED_RESPONSE request.

CDC_NOTIF_AUX_JACK_HOOK_STATE 
CDC_NOTIF_RING_DETECT 
CDC_NOTIF_SERIAL_STATE 
CDC_NOTIF_CALL_STATE_CHANGE 
CDC_NOTIF_LINE_STATE_CHANGE 
CDC_NOTIF_CONNECTION_SPEED_CHANGE 

This notification allows the device to inform the host-networking driver that a change in either the upstream or the downstream bit rate of the connection has occurred.

CDC_NOTIF_MDLM_SEMANTIC_MODEL_NOTIFICATION 

Definition at line 213 of file cdc.h.

◆ midi_code_index_number_t

Enumerator
MIDI_CIN_MISC 
MIDI_CIN_CABLE_EVENT 
MIDI_CIN_SYSCOM_2BYTE 
MIDI_CIN_SYSCOM_3BYTE 
MIDI_CIN_SYSEX_START 
MIDI_CIN_SYSEX_END_1BYTE 
MIDI_CIN_SYSEX_END_2BYTE 
MIDI_CIN_SYSEX_END_3BYTE 
MIDI_CIN_NOTE_OFF 
MIDI_CIN_NOTE_ON 
MIDI_CIN_POLY_KEYPRESS 
MIDI_CIN_CONTROL_CHANGE 
MIDI_CIN_PROGRAM_CHANGE 
MIDI_CIN_CHANNEL_PRESSURE 
MIDI_CIN_PITCH_BEND_CHANGE 
MIDI_CIN_1BYTE_DATA 

Definition at line 64 of file midi.h.

◆ midi_cs_endpoint_subtype_t

Enumerator
MIDI_CS_ENDPOINT_GENERAL 

Definition at line 53 of file midi.h.

◆ midi_jack_type_t

Enumerator
MIDI_JACK_EMBEDDED 
MIDI_JACK_EXTERNAL 

Definition at line 58 of file midi.h.

Function Documentation

◆ cdc_functional_desc_typeof()

static uint8_t cdc_functional_desc_typeof ( uint8_t const *  p_desc)
inlinestatic

Definition at line 387 of file cdc.h.

◆ TU_VERIFY_STATIC() [1/2]

TU_VERIFY_STATIC ( sizeof(cdc_acm_capability_t = =1,
"mostly problem with compiler"   
)

◆ TU_VERIFY_STATIC() [2/2]

TU_VERIFY_STATIC ( sizeof(cdc_line_coding_t = =7,
"size is not correct"   
)

Variable Documentation

◆ C [1/2]

C
extern
Initial value:
{
#endif
typedef enum
{
CDC_COMM_SUBCLASS_DIRECT_LINE_CONTROL_MODEL = 0x01 ,
CDC_COMM_SUBCLASS_ABSTRACT_CONTROL_MODEL = 0x02 ,
CDC_COMM_SUBCLASS_TELEPHONE_CONTROL_MODEL = 0x03 ,
CDC_COMM_SUBCLASS_MULTICHANNEL_CONTROL_MODEL = 0x04 ,
CDC_COMM_SUBCLASS_CAPI_CONTROL_MODEL = 0x05 ,
CDC_COMM_SUBCLASS_ETHERNET_CONTROL_MODEL = 0x06 ,
CDC_COMM_SUBCLASS_ATM_NETWORKING_CONTROL_MODEL = 0x07 ,
CDC_COMM_SUBCLASS_WIRELESS_HANDSET_CONTROL_MODEL = 0x08 ,
CDC_COMM_SUBCLASS_DEVICE_MANAGEMENT = 0x09 ,
CDC_COMM_SUBCLASS_MOBILE_DIRECT_LINE_MODEL = 0x0A ,
CDC_COMM_SUBCLASS_OBEX = 0x0B ,
CDC_COMM_SUBCLASS_ETHERNET_EMULATION_MODEL = 0x0C ,
CDC_COMM_SUBCLASS_NETWORK_CONTROL_MODEL = 0x0D
} cdc_comm_sublcass_type_t

◆ C [2/2]

C
extern
Initial value:
{
#endif
typedef enum
{
MIDI_CS_INTERFACE_HEADER = 0x01,
MIDI_CS_INTERFACE_IN_JACK = 0x02,
MIDI_CS_INTERFACE_OUT_JACK = 0x03,
MIDI_CS_INTERFACE_ELEMENT = 0x04,
} midi_cs_interface_subtype_t