| 1 |
/** |
| 2 |
****************************************************************************** |
| 3 |
* @file usbh_mtp.h |
| 4 |
* @author MCD Application Team |
| 5 |
* @version V3.0.0 |
| 6 |
* @date 18-February-2014 |
| 7 |
* @brief This file contains all the prototypes for the usbh_template.c |
| 8 |
****************************************************************************** |
| 9 |
* @attention |
| 10 |
* |
| 11 |
* <h2><center>© COPYRIGHT 2014 STMicroelectronics</center></h2> |
| 12 |
* |
| 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: |
| 16 |
* |
| 17 |
* http://www.st.com/software_license_agreement_liberty_v2 |
| 18 |
* |
| 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. |
| 24 |
* |
| 25 |
****************************************************************************** |
| 26 |
*/ |
| 27 |
|
| 28 |
/* Define to prevent recursive ----------------------------------------------*/ |
| 29 |
#ifndef __USBH_TEMPLATE_CORE_H |
| 30 |
#define __USBH_TEMPLATE_CORE_H |
| 31 |
|
| 32 |
/* Includes ------------------------------------------------------------------*/ |
| 33 |
#include "usbh_core.h" |
| 34 |
|
| 35 |
|
| 36 |
/** @addtogroup USBH_LIB |
| 37 |
* @{ |
| 38 |
*/ |
| 39 |
|
| 40 |
/** @addtogroup USBH_CLASS |
| 41 |
* @{ |
| 42 |
*/ |
| 43 |
|
| 44 |
/** @addtogroup USBH_TEMPLATE_CLASS |
| 45 |
* @{ |
| 46 |
*/ |
| 47 |
|
| 48 |
/** @defgroup USBH_TEMPLATE_CORE |
| 49 |
* @brief This file is the Header file for USBH_TEMPLATE_CORE.c |
| 50 |
* @{ |
| 51 |
*/ |
| 52 |
|
| 53 |
|
| 54 |
/** |
| 55 |
* @} |
| 56 |
*/ |
| 57 |
|
| 58 |
/** @defgroup USBH_TEMPLATE_CORE_Exported_Types |
| 59 |
* @{ |
| 60 |
*/ |
| 61 |
|
| 62 |
/* States for TEMPLATE State Machine */ |
| 63 |
|
| 64 |
|
| 65 |
/** |
| 66 |
* @} |
| 67 |
*/ |
| 68 |
|
| 69 |
/** @defgroup USBH_TEMPLATE_CORE_Exported_Defines |
| 70 |
* @{ |
| 71 |
*/ |
| 72 |
|
| 73 |
/** |
| 74 |
* @} |
| 75 |
*/ |
| 76 |
|
| 77 |
/** @defgroup USBH_TEMPLATE_CORE_Exported_Macros |
| 78 |
* @{ |
| 79 |
*/ |
| 80 |
/** |
| 81 |
* @} |
| 82 |
*/ |
| 83 |
|
| 84 |
/** @defgroup USBH_TEMPLATE_CORE_Exported_Variables |
| 85 |
* @{ |
| 86 |
*/ |
| 87 |
extern USBH_ClassTypeDef TEMPLATE_Class; |
| 88 |
#define USBH_TEMPLATE_CLASS &TEMPLATE_Class |
| 89 |
|
| 90 |
/** |
| 91 |
* @} |
| 92 |
*/ |
| 93 |
|
| 94 |
/** @defgroup USBH_TEMPLATE_CORE_Exported_FunctionsPrototype |
| 95 |
* @{ |
| 96 |
*/ |
| 97 |
USBH_StatusTypeDef USBH_TEMPLATE_IOProcess (USBH_HandleTypeDef *phost); |
| 98 |
USBH_StatusTypeDef USBH_TEMPLATE_Init (USBH_HandleTypeDef *phost); |
| 99 |
/** |
| 100 |
* @} |
| 101 |
*/ |
| 102 |
|
| 103 |
|
| 104 |
#endif /* __USBH_TEMPLATE_CORE_H */ |
| 105 |
|
| 106 |
/** |
| 107 |
* @} |
| 108 |
*/ |
| 109 |
|
| 110 |
/** |
| 111 |
* @} |
| 112 |
*/ |
| 113 |
|
| 114 |
/** |
| 115 |
* @} |
| 116 |
*/ |
| 117 |
|
| 118 |
/** |
| 119 |
* @} |
| 120 |
*/ |
| 121 |
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ |
| 122 |
|