APM:Libraries
Macros
usbd_conf.h File Reference

USB Device configuration file. More...

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

Go to the source code of this file.

Macros

#define USBD_CFG_MAX_NUM   1
 
#define USBD_ITF_MAX_NUM   1
 
#define USBD_SELF_POWERED
 
#define USB_MAX_STR_DESC_SIZ   255
 
#define CDC_IN_EP   0x81 /* EP1 for data IN */
 
#define CDC_OUT_EP   0x01 /* EP1 for data OUT */
 
#define CDC_CMD_EP   0x82 /* EP2 for CDC commands */
 
#define CDC_DATA_MAX_PACKET_SIZE   64 /* Endpoint IN & OUT Packet size */
 
#define CDC_CMD_PACKET_SZE   8 /* Control Endpoint Packet size */
 
#define CDC_IN_FRAME_INTERVAL   5 /* Number of frames between IN transfers */
 
#define APP_RX_DATA_SIZE
 
#define APP_FOPS   VCP_fops
 
#define MSC_IN_EP   0x81
 
#define MSC_OUT_EP   0x01
 
#define MSC_MAX_PACKET   64
 
#define MSC_MEDIA_PACKET   4096
 

Detailed Description

USB Device configuration 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_conf.h.