Classes | Macros | Variables
Collaboration diagram for USB Device Descriptor:

Classes

struct  udc_config_speed_t
 Configuration descriptor and UDI link for one USB speed. More...
 
struct  udc_config_t
 All information about the USB Device. More...
 

Macros

#define UDC_BSS(x)   COMPILER_ALIGNED(x)
 
#define UDC_DATA(x)   COMPILER_ALIGNED(x)
 
#define UDC_DESC_STORAGE
 Defines the memory's location of USB descriptors. More...
 

Variables

UDC_DESC_STORAGE udc_config_t udc_config
 Global variables of USB Device Descriptor and UDI links. More...
 

Detailed Description

Macro Definition Documentation

◆ UDC_BSS

#define UDC_BSS (   x)    COMPILER_ALIGNED(x)

Definition at line 82 of file udc_desc.h.

◆ UDC_DATA

#define UDC_DATA (   x)    COMPILER_ALIGNED(x)

Definition at line 81 of file udc_desc.h.

◆ UDC_DESC_STORAGE

#define UDC_DESC_STORAGE

Defines the memory's location of USB descriptors.

By default the Descriptor is stored in RAM (UDC_DESC_STORAGE is defined empty).

If you have need to free RAM space, it is possible to put descriptor in flash in following case:

  • USB driver authorize flash transfer (USBB on UC3 and USB on Mega)
  • USB Device is not high speed (UDC no need to change USB descriptors)

For UC3 application used "const".

For Mega application used "code".

Definition at line 70 of file udc_desc.h.

Variable Documentation

◆ udc_config

Global variables of USB Device Descriptor and UDI links.

Global variables of USB Device Descriptor and UDI links.

Definition at line 228 of file udi_cdc_desc.c.



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