Macros | Functions | Variables
usbd_desc.c File Reference

This file provides the USBD descriptors and string formating method. More...

#include "usbd_core.h"
#include "usbd_desc.h"
#include "usbd_req.h"
#include "usbd_conf.h"
#include "usb_regs.h"
Include dependency graph for usbd_desc.c:

Go to the source code of this file.

Macros

#define USBD_CONFIGURATION_FS_STRING   "VCP Config"
 
#define USBD_CONFIGURATION_HS_STRING   "VCP Config"
 
#define USBD_INTERFACE_FS_STRING   "VCP Interface"
 
#define USBD_INTERFACE_HS_STRING   "VCP Interface"
 
#define USBD_LANGID_STRING   0x409
 
#define USBD_MANUFACTURER_STRING   "JAMES JACKSON"
 
#define USBD_PID   0x5740
 
#define USBD_PRODUCT_FS_STRING   "STM32 Virtual ComPort in FS Mode"
 
#define USBD_PRODUCT_HS_STRING   "STM32 Virtual ComPort in HS mode"
 
#define USBD_SERIALNUMBER_FS_STRING   "0x8000000"
 
#define USBD_SERIALNUMBER_HS_STRING   "0x8000000"
 
#define USBD_VID   0x0483
 

Functions

uint8_t * USBD_USR_ConfigStrDescriptor (uint8_t speed, uint16_t *length)
 USBD_USR_ConfigStrDescriptor return the configuration string descriptor. More...
 
uint8_t * USBD_USR_DeviceDescriptor (uint8_t speed, uint16_t *length)
 USBD_USR_DeviceDescriptor return the device descriptor. More...
 
uint8_t * USBD_USR_InterfaceStrDescriptor (uint8_t speed, uint16_t *length)
 USBD_USR_InterfaceStrDescriptor return the interface string descriptor. More...
 
uint8_t * USBD_USR_LangIDStrDescriptor (uint8_t speed, uint16_t *length)
 USBD_USR_LangIDStrDescriptor return the LangID string descriptor. More...
 
uint8_t * USBD_USR_ManufacturerStrDescriptor (uint8_t speed, uint16_t *length)
 USBD_USR_ManufacturerStrDescriptor return the manufacturer string descriptor. More...
 
uint8_t * USBD_USR_ProductStrDescriptor (uint8_t speed, uint16_t *length)
 USBD_USR_ProductStrDescriptor return the product string descriptor. More...
 
uint8_t * USBD_USR_SerialStrDescriptor (uint8_t speed, uint16_t *length)
 USBD_USR_SerialStrDescriptor return the serial number string descriptor. More...
 

Variables

__ALIGN_BEGIN uint8_t USBD_DeviceDesc[USB_SIZ_DEVICE_DESC__ALIGN_END
 
USBD_DEVICE USR_desc
 

Detailed Description

This file provides the USBD descriptors and string formating method.

Author
MCD Application Team
Version
V1.0.0
Date
19-September-2011
Attention

THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.

© COPYRIGHT 2011 STMicroelectronics

Definition in file usbd_desc.c.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Wed Jul 3 2019 19:59:28