LPCOpen Platform
LPCOpen Platform for NXP LPC Microcontrollers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
USB_CORE_DESCS_T Struct Reference

USB descriptors data structure. More...

#include "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 initialisation 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.

Definition at line 122 of file usbd_core.h.

Field Documentation

uint8_t* device_desc

Pointer to USB device descriptor

Definition at line 124 of file usbd_core.h.

uint8_t* device_qualifier

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

Definition at line 134 of file usbd_core.h.

uint8_t* full_speed_desc

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

Definition at line 126 of file usbd_core.h.

uint8_t* high_speed_desc

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.

Definition at line 129 of file usbd_core.h.

uint8_t* string_desc

Pointer to array of USB string descriptors

Definition at line 125 of file usbd_core.h.


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