Macros | Functions | Variables
usbd_desc.h File Reference

header file for the usbd_desc.c file More...

#include "usbd_def.h"
Include dependency graph for usbd_desc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define USB_CONFIGURATION_DESCRIPTOR_TYPE   0x02
 
#define USB_DEVICE_DESCRIPTOR_TYPE   0x01
 
#define USB_ENDPOINT_DESCRIPTOR_TYPE   0x05
 
#define USB_INTERFACE_DESCRIPTOR_TYPE   0x04
 
#define USB_SIZ_DEVICE_DESC   18
 
#define USB_SIZ_STRING_LANGID   4
 
#define USB_STRING_DESCRIPTOR_TYPE   0x03
 

Functions

uint8_t * USBD_MSC_ConfigStrDescriptor (uint8_t speed, uint16_t *length)
 
uint8_t * USBD_MSC_DeviceDescriptor (uint8_t speed, uint16_t *length)
 
uint8_t * USBD_MSC_InterfaceStrDescriptor (uint8_t speed, uint16_t *length)
 
uint8_t * USBD_MSC_LangIDStrDescriptor (uint8_t speed, uint16_t *length)
 
uint8_t * USBD_MSC_ManufacturerStrDescriptor (uint8_t speed, uint16_t *length)
 
uint8_t * USBD_MSC_ProductStrDescriptor (uint8_t speed, uint16_t *length)
 
uint8_t * USBD_MSC_SerialStrDescriptor (uint8_t speed, uint16_t *length)
 
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

USBD_DEVICE MSC_desc
 
uint8_t USBD_DeviceDesc [USB_SIZ_DEVICE_DESC]
 
uint8_t USBD_DeviceDesc_MSC [USB_SIZ_DEVICE_DESC]
 
uint8_t USBD_DeviceQualifierDesc [USB_LEN_DEV_QUALIFIER_DESC]
 
uint8_t USBD_DeviceQualifierDesc_MSC [USB_LEN_DEV_QUALIFIER_DESC]
 
uint8_t USBD_LangIDDesc [USB_SIZ_STRING_LANGID]
 
uint8_t USBD_LangIDDesc_MSC [USB_SIZ_STRING_LANGID]
 
uint8_t USBD_OtherSpeedCfgDesc [USB_LEN_CFG_DESC]
 
uint8_t USBD_OtherSpeedCfgDesc_MSC [USB_LEN_CFG_DESC]
 
uint8_t USBD_StrDesc [USB_MAX_STR_DESC_SIZ]
 
uint8_t USBD_StrDesc_MSC [USB_MAX_STR_DESC_SIZ]
 
USBD_DEVICE USR_desc
 

Detailed Description

header file for the usbd_desc.c file

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.h.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Thu Oct 24 2019 03:17:21