Data Structures | |
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... | |
#define UDC_BSS | ( | x | ) | COMPILER_ALIGNED(x) |
Referenced by udi_msc_sbc_read_capacity(), and udi_msc_spc_mode_sense().
#define UDC_DATA | ( | x | ) | COMPILER_ALIGNED(x) |
Referenced by udi_msc_spc_inquiry().
#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:
For UC3 application used "const".
For Mega application used "code".
Referenced by main_extra_string(), udc_get_eof_conf(), udc_iface_disable(), udc_iface_enable(), udc_req_ep(), udc_req_iface(), udc_req_std_iface_get_setting(), udc_update_iface_desc(), and udi_hid_reqstdifaceget_descriptor().
UDC_DESC_STORAGE udc_config_t udc_config |
Global variables of USB Device Descriptor and UDI links.
Global variables of USB Device Descriptor and UDI links.
Referenced by udc_req_std_dev_get_descriptor(), and udc_req_std_dev_set_configuration().