APM:Libraries
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_DEVICE_DESCRIPTOR_TYPE   0x01
 
#define USB_CONFIGURATION_DESCRIPTOR_TYPE   0x02
 
#define USB_STRING_DESCRIPTOR_TYPE   0x03
 
#define USB_INTERFACE_DESCRIPTOR_TYPE   0x04
 
#define USB_ENDPOINT_DESCRIPTOR_TYPE   0x05
 
#define USB_SIZ_DEVICE_DESC   18
 
#define USB_SIZ_STRING_LANGID   4
 

Functions

uint8_t * USBD_USR_DeviceDescriptor (uint8_t speed, uint16_t *length)
 
uint8_t * USBD_USR_LangIDStrDescriptor (uint8_t speed, uint16_t *length)
 
uint8_t * USBD_USR_ManufacturerStrDescriptor (uint8_t speed, uint16_t *length)
 
uint8_t * USBD_USR_ProductStrDescriptor (uint8_t speed, uint16_t *length)
 
uint8_t * USBD_USR_SerialStrDescriptor (uint8_t speed, uint16_t *length)
 
uint8_t * USBD_USR_ConfigStrDescriptor (uint8_t speed, uint16_t *length)
 
uint8_t * USBD_USR_InterfaceStrDescriptor (uint8_t speed, uint16_t *length)
 

Variables

const uint8_t USBD_DeviceDesc [USB_SIZ_DEVICE_DESC]
 
const uint8_t USBD_OtherSpeedCfgDesc [USB_LEN_CFG_DESC]
 
const uint8_t USBD_DeviceQualifierDesc [USB_LEN_DEV_QUALIFIER_DESC]
 
const uint8_t USBD_LangIDDesc [USB_SIZ_STRING_LANGID]
 
const USBD_DEVICE USR_desc
 
uint8_t USBD_StrDesc [USB_MAX_STR_DESC_SIZ]
 

Detailed Description

header file for the usbd_desc.c file

Author
MCD Application Team
Version
V1.1.0
Date
19-March-2012
Attention

© COPYRIGHT 2012 STMicroelectronics

Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); You may not use this file except in compliance with the License. You may obtain a copy of the License at:

   http://www.st.com/software_license_agreement_liberty_v2

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition in file usbd_desc.h.