2 ******************************************************************************
4 * @author MCD Application Team
6 * @date 09-November-2015
7 * @brief OTG Core Header
8 ******************************************************************************
11 * <h2><center>© COPYRIGHT 2015 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 -------------------------------------*/
33 /** @addtogroup USB_OTG_DRIVER
38 * @brief This file is the
43 /** @defgroup USB_OTG_Exported_Defines
48 void USB_OTG_InitiateSRP(void);
49 void USB_OTG_InitiateHNP(uint8_t state
, uint8_t mode
);
50 void USB_OTG_Switchback (USB_OTG_CORE_DEVICE
*pdev
);
51 uint32_t USB_OTG_GetCurrentState (USB_OTG_CORE_DEVICE
*pdev
);
58 /** @defgroup USB_OTG_Exported_Types
66 /** @defgroup USB_OTG_Exported_Macros
73 /** @defgroup USB_OTG_Exported_Variables
80 /** @defgroup USB_OTG_Exported_FunctionsPrototype
98 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/