Classes | Macros | Variables
udi_cdc_desc.c File Reference

Default descriptors for a USB Device with a single interface CDC. More...

#include "conf_usb.h"
#include "udd.h"
#include "udc_desc.h"
#include "udi_cdc.h"
Include dependency graph for udi_cdc_desc.c:

Go to the source code of this file.

Classes

struct  udc_desc_t
 Structure for USB Device Configuration Descriptor. More...
 

Macros

#define UDI_CDC_API(index, unused)
 
#define USB_DEVICE_NB_INTERFACE   (2*UDI_CDC_PORT_NB)
 Two interfaces for a CDC device. More...
 
#define USB_VERSION   USB_V2_0
 

Variables

COMPILER_WORD_ALIGNED UDC_DESC_STORAGE udc_desc_t udc_desc_fs
 USB Device Configuration Descriptor filled for full and high speed. More...
 
COMPILER_WORD_ALIGNED UDC_DESC_STORAGE usb_dev_desc_t udc_device_desc
 USB Device Descriptor. More...
 
UDC structures which content all USB Device definitions
UDC_DESC_STORAGE udi_api_tudi_apis [USB_DEVICE_NB_INTERFACE]
 Associate an UDI for each USB interface. More...
 
UDC_DESC_STORAGE udc_config_speed_t udc_config_fs [1]
 Add UDI with USB Descriptors FS & HS. More...
 
UDC_DESC_STORAGE udc_config_t udc_config
 Add all information about USB Device in global structure for UDC. More...
 

Detailed Description

Default descriptors for a USB Device with a single interface CDC.

Copyright (c) 2009-2018 Microchip Technology Inc. and its subsidiaries.

Definition in file udi_cdc_desc.c.

Macro Definition Documentation

◆ UDI_CDC_API

#define UDI_CDC_API (   index,
  unused 
)
Value:
UDC_DESC_STORAGE udi_api_t udi_api_cdc_comm
Global structure which contains standard UDI API for UDC.
Definition: udi_cdc.c:86
UDC_DESC_STORAGE udi_api_t udi_api_cdc_data
Definition: udi_cdc.c:92


inertial_sense_ros
Author(s):
autogenerated on Sun Feb 28 2021 03:18:00