2012-01-29 18:38:39 +01:00
|
|
|
/**
|
2013-05-19 16:37:30 +02:00
|
|
|
******************************************************************************
|
|
|
|
* @file usbd_conf_template.h
|
|
|
|
* @author MCD Application Team
|
|
|
|
* @version V1.1.0
|
|
|
|
* @date 19-March-2012
|
|
|
|
* @brief usb device configuration template file
|
|
|
|
******************************************************************************
|
|
|
|
* @attention
|
|
|
|
*
|
|
|
|
* <h2><center>© COPYRIGHT 2012 STMicroelectronics</center></h2>
|
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
*
|
|
|
|
******************************************************************************
|
|
|
|
*/
|
2012-01-29 18:38:39 +01:00
|
|
|
|
|
|
|
/* Define to prevent recursive inclusion -------------------------------------*/
|
|
|
|
#ifndef __USBD_CONF__H__
|
|
|
|
#define __USBD_CONF__H__
|
|
|
|
|
|
|
|
/* Includes ------------------------------------------------------------------*/
|
2012-01-31 04:29:39 +01:00
|
|
|
#include "stm32f4xx.h"
|
2013-04-14 00:45:34 +02:00
|
|
|
#include "usb_conf.h"
|
2012-01-29 18:38:39 +01:00
|
|
|
|
|
|
|
/** @defgroup USB_CONF_Exported_Defines
|
2013-05-19 16:37:30 +02:00
|
|
|
* @{
|
|
|
|
*/
|
|
|
|
// #define USE_USB_OTG_HS
|
2013-04-14 00:45:34 +02:00
|
|
|
|
2013-05-19 16:37:30 +02:00
|
|
|
#define USBD_CFG_MAX_NUM 1
|
|
|
|
#define USB_MAX_STR_DESC_SIZ 64
|
|
|
|
#define USBD_EP0_MAX_PACKET_SIZE 64
|
2012-01-29 18:38:39 +01:00
|
|
|
|
|
|
|
/**
|
2013-05-19 16:37:30 +02:00
|
|
|
* @}
|
|
|
|
*/
|
2012-01-29 18:38:39 +01:00
|
|
|
|
|
|
|
|
|
|
|
/** @defgroup USB_CONF_Exported_Types
|
2013-05-19 16:37:30 +02:00
|
|
|
* @{
|
|
|
|
*/
|
2012-01-29 18:38:39 +01:00
|
|
|
/**
|
2013-05-19 16:37:30 +02:00
|
|
|
* @}
|
|
|
|
*/
|
2012-01-29 18:38:39 +01:00
|
|
|
|
|
|
|
|
|
|
|
/** @defgroup USB_CONF_Exported_Macros
|
2013-05-19 16:37:30 +02:00
|
|
|
* @{
|
|
|
|
*/
|
2012-01-29 18:38:39 +01:00
|
|
|
/**
|
2013-05-19 16:37:30 +02:00
|
|
|
* @}
|
|
|
|
*/
|
2012-01-29 18:38:39 +01:00
|
|
|
|
|
|
|
/** @defgroup USB_CONF_Exported_Variables
|
2013-05-19 16:37:30 +02:00
|
|
|
* @{
|
|
|
|
*/
|
2012-01-29 18:38:39 +01:00
|
|
|
/**
|
2013-05-19 16:37:30 +02:00
|
|
|
* @}
|
|
|
|
*/
|
2012-01-29 18:38:39 +01:00
|
|
|
|
|
|
|
/** @defgroup USB_CONF_Exported_FunctionsPrototype
|
2013-05-19 16:37:30 +02:00
|
|
|
* @{
|
|
|
|
*/
|
2012-01-29 18:38:39 +01:00
|
|
|
/**
|
2013-05-19 16:37:30 +02:00
|
|
|
* @}
|
|
|
|
*/
|
2012-01-29 18:38:39 +01:00
|
|
|
|
|
|
|
|
2013-05-19 16:37:30 +02:00
|
|
|
#endif // __USBD_CONF__H__
|
2012-01-29 18:38:39 +01:00
|
|
|
|
|
|
|
/******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/
|