before merging master
[inav.git] / lib / main / STM32_USB_OTG_Driver / inc / usb_otg.h
blob44be2cf36d6f7c6c87735f25577ae1d06b3102cb
1 /**
2 ******************************************************************************
3 * @file usb_otg.h
4 * @author MCD Application Team
5 * @version V2.2.0
6 * @date 09-November-2015
7 * @brief OTG Core Header
8 ******************************************************************************
9 * @attention
11 * <h2><center>&copy; 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 -------------------------------------*/
29 #ifndef __USB_OTG__
30 #define __USB_OTG__
33 /** @addtogroup USB_OTG_DRIVER
34 * @{
37 /** @defgroup USB_OTG
38 * @brief This file is the
39 * @{
40 */
43 /** @defgroup USB_OTG_Exported_Defines
44 * @{
45 */
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);
53 /**
54 * @}
55 */
58 /** @defgroup USB_OTG_Exported_Types
59 * @{
60 */
61 /**
62 * @}
63 */
66 /** @defgroup USB_OTG_Exported_Macros
67 * @{
68 */
69 /**
70 * @}
71 */
73 /** @defgroup USB_OTG_Exported_Variables
74 * @{
75 */
76 /**
77 * @}
78 */
80 /** @defgroup USB_OTG_Exported_FunctionsPrototype
81 * @{
82 */
83 /**
84 * @}
85 */
88 #endif //__USB_OTG__
91 /**
92 * @}
93 */
95 /**
96 * @}
97 */
98 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/