Classes | |
struct | udi_cdc_comm_desc_t |
Communication Class interface descriptor. More... | |
struct | udi_cdc_data_desc_t |
Data Class interface descriptor. More... | |
Macros | |
#define | UDI_CDC_COMM_DESC(port) |
Content of CDC COMM interface descriptor for all speeds. More... | |
#define | UDI_CDC_COMM_EP_SIZE 64 |
CDC communication endpoints size for all speeds. More... | |
#define | UDI_CDC_DATA_DESC_COMMON |
Content of CDC DATA interface descriptors. More... | |
#define | UDI_CDC_DATA_DESC_FS(port) |
#define | UDI_CDC_DATA_DESC_HS(port) |
#define | UDI_CDC_DATA_EPS_FS_SIZE 64 |
CDC data endpoints size for FS speed (8B, 16B, 32B, 64B) More... | |
#define | UDI_CDC_DATA_EPS_HS_SIZE 512 |
CDC data endpoints size for HS speed (512B only) More... | |
#define | UDI_CDC_IAD_DESC(port) |
Content of CDC IAD interface descriptor for all speeds. More... | |
The following structures provide predefined USB interface descriptors. It must be used to define the final USB descriptors.
#define UDI_CDC_COMM_DESC | ( | port | ) |
#define UDI_CDC_COMM_DESC_0 UDI_CDC_COMM_DESC(0) |
#define UDI_CDC_COMM_DESC_1 UDI_CDC_COMM_DESC(1) |
#define UDI_CDC_COMM_DESC_2 UDI_CDC_COMM_DESC(2) |
#define UDI_CDC_COMM_DESC_3 UDI_CDC_COMM_DESC(3) |
#define UDI_CDC_COMM_DESC_4 UDI_CDC_COMM_DESC(4) |
#define UDI_CDC_COMM_DESC_5 UDI_CDC_COMM_DESC(5) |
#define UDI_CDC_COMM_DESC_6 UDI_CDC_COMM_DESC(6) |
#define UDI_CDC_COMM_EP_SIZE 64 |
#define UDI_CDC_DATA_DESC_0_FS UDI_CDC_DATA_DESC_FS(0) |
#define UDI_CDC_DATA_DESC_0_HS UDI_CDC_DATA_DESC_HS(0) |
#define UDI_CDC_DATA_DESC_1_FS UDI_CDC_DATA_DESC_FS(1) |
#define UDI_CDC_DATA_DESC_1_HS UDI_CDC_DATA_DESC_HS(1) |
#define UDI_CDC_DATA_DESC_2_FS UDI_CDC_DATA_DESC_FS(2) |
#define UDI_CDC_DATA_DESC_2_HS UDI_CDC_DATA_DESC_HS(2) |
#define UDI_CDC_DATA_DESC_3_FS UDI_CDC_DATA_DESC_FS(3) |
#define UDI_CDC_DATA_DESC_3_HS UDI_CDC_DATA_DESC_HS(3) |
#define UDI_CDC_DATA_DESC_4_FS UDI_CDC_DATA_DESC_FS(4) |
#define UDI_CDC_DATA_DESC_4_HS UDI_CDC_DATA_DESC_HS(4) |
#define UDI_CDC_DATA_DESC_5_FS UDI_CDC_DATA_DESC_FS(5) |
#define UDI_CDC_DATA_DESC_5_HS UDI_CDC_DATA_DESC_HS(5) |
#define UDI_CDC_DATA_DESC_6_FS UDI_CDC_DATA_DESC_FS(6) |
#define UDI_CDC_DATA_DESC_6_HS UDI_CDC_DATA_DESC_HS(6) |
#define UDI_CDC_DATA_DESC_COMMON |
Content of CDC DATA interface descriptors.
#define UDI_CDC_DATA_DESC_FS | ( | port | ) |
#define UDI_CDC_DATA_DESC_HS | ( | port | ) |
#define UDI_CDC_DATA_EPS_FS_SIZE 64 |
#define UDI_CDC_DATA_EPS_HS_SIZE 512 |
#define UDI_CDC_IAD_DESC | ( | port | ) |
Content of CDC IAD interface descriptor for all speeds.
#define UDI_CDC_IAD_DESC_0 UDI_CDC_IAD_DESC(0) |
#define UDI_CDC_IAD_DESC_1 UDI_CDC_IAD_DESC(1) |
#define UDI_CDC_IAD_DESC_2 UDI_CDC_IAD_DESC(2) |
#define UDI_CDC_IAD_DESC_3 UDI_CDC_IAD_DESC(3) |
#define UDI_CDC_IAD_DESC_4 UDI_CDC_IAD_DESC(4) |
#define UDI_CDC_IAD_DESC_5 UDI_CDC_IAD_DESC(5) |
#define UDI_CDC_IAD_DESC_6 UDI_CDC_IAD_DESC(6) |
#define UDI_CDC_IAD_STRING_ID_0 0 |
#define UDI_CDC_IAD_STRING_ID_1 0 |
#define UDI_CDC_IAD_STRING_ID_2 0 |
#define UDI_CDC_IAD_STRING_ID_3 0 |
#define UDI_CDC_IAD_STRING_ID_4 0 |
#define UDI_CDC_IAD_STRING_ID_5 0 |