USBD ROM Stack  1.0
ROM based USB device stack
USB_CORE_DESCS_T Struct Reference

USB descriptors data structure. More...

#include <mw_usbd/mw_usbd_core.h>

Data Fields

uint8_t * device_desc
uint8_t * string_desc
uint8_t * full_speed_desc
uint8_t * high_speed_desc
uint8_t * device_qualifier

Detailed Description

USB descriptors data structure.

This structure is used as part of USB device stack initialization parameter structure USBD_API_INIT_PARAM_T. This structure contains pointers to various descriptor arrays needed by the stack. These descriptors are reported to USB host as part of enumerations process.

Note:
All descriptor pointers assigned in this structure should be on 4 byte aligned address boundary.

Field Documentation

Pointer to USB device descriptor

Pointer to array of USB string descriptors

Pointer to USB device configuration descriptor when device is operating in full speed mode.

Pointer to USB device configuration descriptor when device is operating in high speed mode. For full-speed only implementation this pointer should be same as full_speed_desc.

Pointer to USB device qualifier descriptor. For full-speed only implementation this pointer should be set to null (0).


The documentation for this struct was generated from the following file: