usb_otg.h 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. /**
  2. ******************************************************************************
  3. * @file usb_otg.h
  4. * @author MCD Application Team
  5. * @version V2.1.0
  6. * @date 19-March-2012
  7. * @brief OTG Core Header
  8. ******************************************************************************
  9. * @attention
  10. *
  11. * <h2><center>&copy; COPYRIGHT 2012 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. /* Define to prevent recursive inclusion -------------------------------------*/
  28. #ifndef __USB_OTG__
  29. #define __USB_OTG__
  30. /** @addtogroup USB_OTG_DRIVER
  31. * @{
  32. */
  33. /** @defgroup USB_OTG
  34. * @brief This file is the
  35. * @{
  36. */
  37. /** @defgroup USB_OTG_Exported_Defines
  38. * @{
  39. */
  40. void USB_OTG_InitiateSRP(void);
  41. void USB_OTG_InitiateHNP(uint8_t state , uint8_t mode);
  42. void USB_OTG_Switchback (USB_OTG_CORE_DEVICE *pdev);
  43. uint32_t USB_OTG_GetCurrentState (USB_OTG_CORE_DEVICE *pdev);
  44. /**
  45. * @}
  46. */
  47. /** @defgroup USB_OTG_Exported_Types
  48. * @{
  49. */
  50. /**
  51. * @}
  52. */
  53. /** @defgroup USB_OTG_Exported_Macros
  54. * @{
  55. */
  56. /**
  57. * @}
  58. */
  59. /** @defgroup USB_OTG_Exported_Variables
  60. * @{
  61. */
  62. /**
  63. * @}
  64. */
  65. /** @defgroup USB_OTG_Exported_FunctionsPrototype
  66. * @{
  67. */
  68. /**
  69. * @}
  70. */
  71. #endif //__USB_OTG__
  72. /**
  73. * @}
  74. */
  75. /**
  76. * @}
  77. */
  78. /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/