Jump to main content

##

# 2.5.5.2 usb_cdc.h

## File Name

usb_cdc.h

## Description

USB CDC class definitions

This file describes the CDC class specific definitions. This file is included by usb_device_cdc.h and usb_host_cdc.h header files. The application can include this file if it needs to use any USB CDC Class definitions.

## Enumerations

Name | Description
USB_CDC_DESCRIPTOR_TYPE | Identifies the descriptor types in the CDC.
USB_CDC_FUNCTIONAL_DESCRIPTOR | Identifies the CDC function header type.
USB_CDC_INF_PROTOCOL | Identifies the protocol codes.
USB_CDC_INTERFACE_TYPE | Identifies the CDC interface type.
USB_CDC_NOTIFICATION | Identifies the notification codes available for CDC.
USB_CDC_REQUEST | Identifies the CDC specific request codes.
USB_CDC_SUBCLASS | Identifies the subclass codes for communication interface.

## Macros

Name | Description
CS_INTERFACE | This is macro CS_INTERFACE.
USB_CDC_ACM_SUPPORT_BREAK | This is macro USB_CDC_ACM_SUPPORT_BREAK.
USB_CDC_ACM_SUPPORT_COMM_FEATURE | This is macro USB_CDC_ACM_SUPPORT_COMM_FEATURE.
USB_CDC_ACM_SUPPORT_LINE_CODING_LINE_STATE_AND_NOTIFICATION | This is macro USB_CDC_ACM_SUPPORT_LINE_CODING_LINE_STATE_AND_NOTIFICATION.
USB_CDC_ACM_SUPPORT_NETWORK_NOTIFICATION | This is macro USB_CDC_ACM_SUPPORT_NETWORK_NOTIFICATION.
USB_CDC_ACM_SUPPORT_NONE | Identifies the CDC ACM sub-class capabilities.
USB_CDC_CLASS_CODE | Identifies the CDC Interface Class, Subclass and protocol constants.
USB_CDC_COMMUNICATIONS_INTERFACE_CLASS_CODE | This is macro USB_CDC_COMMUNICATIONS_INTERFACE_CLASS_CODE.
USB_CDC_DATA_INTERFACE_CLASS_CODE | This is macro USB_CDC_DATA_INTERFACE_CLASS_CODE.
USB_CDC_DATA_INTERFACE_PROTOCOL | This is macro USB_CDC_DATA_INTERFACE_PROTOCOL.
USB_CDC_DATA_INTERFACE_SUBCLASS_CODE | This is macro USB_CDC_DATA_INTERFACE_SUBCLASS_CODE.
USB_CDC_LINESTATE_CARRIER | Bit code information in line state.
USB_CDC_LINESTATE_DTR | Bit code information in line state.
USB_CDC_REQUEST_CLASS_SPECIFIC | CDC specific request.
USB_CDC_SUBCLASS_CODE | This is macro USB_CDC_SUBCLASS_CODE.

## Types

Name | Description
USB_CDC_UNION_FUNCTIONAL_DESCRIPTOR_SUBORDINATE | This is type USB_CDC_UNION_FUNCTIONAL_DESCRIPTOR_SUBORDINATE.