![]() |
LPCOpen Platform
LPCOpen Platform for NXP LPC Microcontrollers
|
#include "Descriptors.h"
Go to the source code of this file.
Functions | |
uint16_t | CALLBACK_USB_GetDescriptor (const uint16_t wValue, const uint8_t wIndex, const void **const DescriptorAddress) |
USB Get descriptor callback function. | |
Variables | |
static const USB_Descriptor_Device_t | DeviceDescriptor |
static const USB_Descriptor_Configuration_t | ConfigurationDescriptor |
static const uint8_t | LanguageString [] |
static const USB_Descriptor_String_t * | LanguageStringPtr = (const USB_Descriptor_String_t *) LanguageString |
static const uint8_t | ManufacturerString [] |
static const USB_Descriptor_String_t * | ManufacturerStringPtr = (const USB_Descriptor_String_t *) ManufacturerString |
static const uint8_t | ProductString [] |
static const USB_Descriptor_String_t * | ProductStringPtr = (const USB_Descriptor_String_t *) ProductString |
|
static |
Configuration descriptor structure. This descriptor, located in FLASH memory, describes the usage of the device in one of its supported configurations, including information about any device interfaces and endpoints. The descriptor is read out by the USB host during the enumeration process when selecting a configuration so that the host may correctly communicate with the USB device.
Definition at line 82 of file Descriptors.c.
|
static |
Device descriptor structure. This descriptor, located in FLASH memory, describes the overall device characteristics, including the supported USB version, control endpoint size and the number of device configurations. The descriptor is read out by the USB host when the enumeration process begins.
Definition at line 56 of file Descriptors.c.
|
static |
Language descriptor structure. This descriptor, located in FLASH memory, is returned when the host requests the string descriptor with index 0 (the first index). It is actually an array of 16-bit integers, which indicate via the language ID table available at USB.org what languages the device supports for its string descriptors.
Definition at line 136 of file Descriptors.c.
|
static |
Definition at line 141 of file Descriptors.c.
|
static |
Manufacturer descriptor string. This is a Unicode string containing the manufacturer's details in human readable form, and is read out upon request by the host when the appropriate string ID is requested, listed in the Device Descriptor.
Definition at line 147 of file Descriptors.c.
|
static |
Definition at line 154 of file Descriptors.c.
|
static |
Product descriptor string. This is a Unicode string containing the product's details in human readable form, and is read out upon request by the host when the appropriate string ID is requested, listed in the Device Descriptor.
Definition at line 160 of file Descriptors.c.
|
static |
Definition at line 191 of file Descriptors.c.