APM:Libraries
Macros | Functions | Variables
device_desc.c File Reference
#include "usbd_core.h"
#include "usbd_desc.h"
#include "usbd_req.h"
#include "usbd_conf.h"
#include "usb_regs.h"
Include dependency graph for device_desc.c:

Go to the source code of this file.

Macros

#define USBD_VID   0x0483
 
#define USBD_PID   0x5720
 
#define USBD_LANGID_STRING   0x409
 
#define USBD_MANUFACTURER_STRING   "STMicroelectronics"
 
#define USBD_PRODUCT_HS_STRING   "Mass Storage in HS Mode"
 
#define USBD_SERIALNUMBER_HS_STRING   "00000000001A"
 
#define USBD_PRODUCT_FS_STRING   "Mass Storage in FS Mode"
 
#define USBD_SERIALNUMBER_FS_STRING   "00000000001B"
 
#define USBD_CONFIGURATION_HS_STRING   "MSC Config"
 
#define USBD_INTERFACE_HS_STRING   "MSC Interface"
 
#define USBD_CONFIGURATION_FS_STRING   "MSC Config"
 
#define USBD_INTERFACE_FS_STRING   "MSC Interface"
 

Functions

uint8_t * USBD_MSC_DeviceDescriptor (uint8_t speed, uint16_t *length)
 USBD_MSC_DeviceDescriptor return the device descriptor. More...
 
uint8_t * USBD_MSC_LangIDStrDescriptor (uint8_t speed, uint16_t *length)
 USBD_MSC_LangIDStrDescriptor return the LangID string descriptor. More...
 
uint8_t * USBD_MSC_ManufacturerStrDescriptor (uint8_t speed, uint16_t *length)
 USBD_MSC_ManufacturerStrDescriptor return the manufacturer string descriptor. More...
 
uint8_t * USBD_MSC_ProductStrDescriptor (uint8_t speed, uint16_t *length)
 USBD_MSC_ProductStrDescriptor return the product string descriptor. More...
 
uint8_t * USBD_MSC_SerialStrDescriptor (uint8_t speed, uint16_t *length)
 USBD_MSC_SerialStrDescriptor return the serial number string descriptor. More...
 
uint8_t * USBD_MSC_ConfigStrDescriptor (uint8_t speed, uint16_t *length)
 USBD_MSC_ConfigStrDescriptor return the configuration string descriptor. More...
 
uint8_t * USBD_MSC_InterfaceStrDescriptor (uint8_t speed, uint16_t *length)
 USBD_MSC_InterfaceStrDescriptor return the interface string descriptor. More...
 

Variables

const USBD_DEVICE USR_MSC_desc
 
const __ALIGN_BEGIN uint8_t USBD_MSC_DeviceDesc [USB_SIZ_DEVICE_DESC__ALIGN_END