2 ******************************************************************************
3 * @file usbd_conf_template.h
4 * @author MCD Application Team
7 * @brief usb device configuration template file
8 ******************************************************************************
11 * <h2><center>© COPYRIGHT 2012 STMicroelectronics</center></h2>
13 * Licensed under MCD-ST Liberty SW License Agreement V2, (the "License");
14 * You may not use this file except in compliance with the License.
15 * You may obtain a copy of the License at:
17 * http://www.st.com/software_license_agreement_liberty_v2
19 * Unless required by applicable law or agreed to in writing, software
20 * distributed under the License is distributed on an "AS IS" BASIS,
21 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22 * See the License for the specific language governing permissions and
23 * limitations under the License.
25 ******************************************************************************
28 /* Define to prevent recursive inclusion -------------------------------------*/
29 #ifndef __USBD_CONF__H__
30 #define __USBD_CONF__H__
32 /* Includes ------------------------------------------------------------------*/
33 #include "stm32f4xx.h"
36 /** @defgroup USB_CONF_Exported_Defines
39 // #define USE_USB_OTG_HS
41 #define USBD_CFG_MAX_NUM 1
42 #define USB_MAX_STR_DESC_SIZ 64
43 #define USBD_EP0_MAX_PACKET_SIZE 64
50 /** @defgroup USB_CONF_Exported_Types
58 /** @defgroup USB_CONF_Exported_Macros
65 /** @defgroup USB_CONF_Exported_Variables
72 /** @defgroup USB_CONF_Exported_FunctionsPrototype
80 #endif // __USBD_CONF__H__
82 /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/