ChibiOS/HAL  6.1.0
hal_usb_cdc.h File Reference

USB CDC macros and structures. More...

Go to the source code of this file.

Data Structures

struct  cdc_linecoding_t
 Type of Line Coding structure. More...
 

Macros

CDC specific messages.
#define CDC_SEND_ENCAPSULATED_COMMAND   0x00U
 
#define CDC_GET_ENCAPSULATED_RESPONSE   0x01U
 
#define CDC_SET_COMM_FEATURE   0x02U
 
#define CDC_GET_COMM_FEATURE   0x03U
 
#define CDC_CLEAR_COMM_FEATURE   0x04U
 
#define CDC_SET_AUX_LINE_STATE   0x10U
 
#define CDC_SET_HOOK_STATE   0x11U
 
#define CDC_PULSE_SETUP   0x12U
 
#define CDC_SEND_PULSE   0x13U
 
#define CDC_SET_PULSE_TIME   0x14U
 
#define CDC_RING_AUX_JACK   0x15U
 
#define CDC_SET_LINE_CODING   0x20U
 
#define CDC_GET_LINE_CODING   0x21U
 
#define CDC_SET_CONTROL_LINE_STATE   0x22U
 
#define CDC_SEND_BREAK   0x23U
 
#define CDC_SET_RINGER_PARMS   0x30U
 
#define CDC_GET_RINGER_PARMS   0x31U
 
#define CDC_SET_OPERATION_PARMS   0x32U
 
#define CDC_GET_OPERATION_PARMS   0x33U
 
CDC classes
#define CDC_COMMUNICATION_INTERFACE_CLASS   0x02U
 
#define CDC_DATA_INTERFACE_CLASS   0x0AU
 
CDC subclasses
#define CDC_ABSTRACT_CONTROL_MODEL   0x02U
 
CDC descriptors
#define CDC_CS_INTERFACE   0x24U
 
CDC subdescriptors
#define CDC_HEADER   0x00U
 
#define CDC_CALL_MANAGEMENT   0x01U
 
#define CDC_ABSTRACT_CONTROL_MANAGEMENT   0x02U
 
#define CDC_UNION   0x06U
 
Line Control bit definitions.
#define LC_STOP_1   0U
 
#define LC_STOP_1P5   1U
 
#define LC_STOP_2   2U
 
#define LC_PARITY_NONE   0U
 
#define LC_PARITY_ODD   1U
 
#define LC_PARITY_EVEN   2U
 
#define LC_PARITY_MARK   3U
 
#define LC_PARITY_SPACE   4U
 

Detailed Description

USB CDC macros and structures.

Definition in file hal_usb_cdc.h.