usbd_int.h 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. /**
  2. **************************************************************************
  3. * @file usb_int.h
  4. * @version v2.0.6
  5. * @date 2021-12-31
  6. * @brief usb header file
  7. **************************************************************************
  8. * Copyright notice & Disclaimer
  9. *
  10. * The software Board Support Package (BSP) that is made available to
  11. * download from Artery official website is the copyrighted work of Artery.
  12. * Artery authorizes customers to use, copy, and distribute the BSP
  13. * software and its related documentation for the purpose of design and
  14. * development in conjunction with Artery microcontrollers. Use of the
  15. * software is governed by this copyright notice and the following disclaimer.
  16. *
  17. * THIS SOFTWARE IS PROVIDED ON "AS IS" BASIS WITHOUT WARRANTIES,
  18. * GUARANTEES OR REPRESENTATIONS OF ANY KIND. ARTERY EXPRESSLY DISCLAIMS,
  19. * TO THE FULLEST EXTENT PERMITTED BY LAW, ALL EXPRESS, IMPLIED OR
  20. * STATUTORY OR OTHER WARRANTIES, GUARANTEES OR REPRESENTATIONS,
  21. * INCLUDING BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY,
  22. * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT.
  23. *
  24. **************************************************************************
  25. */
  26. /* define to prevent recursive inclusion -------------------------------------*/
  27. #ifndef __USB_INT_H
  28. #define __USB_INT_H
  29. #ifdef __cplusplus
  30. extern "C" {
  31. #endif
  32. /* includes ------------------------------------------------------------------*/
  33. #include "usbd_core.h"
  34. /** @addtogroup AT32F403A_407_middlewares_usbd_drivers
  35. * @{
  36. */
  37. /** @addtogroup USBD_drivers_interrupt
  38. * @{
  39. */
  40. /** @defgroup USBD_int_exported_functions
  41. * @{
  42. */
  43. void usbd_irq_handler(usbd_core_type *udev);
  44. void usbd_ept_loop_handler(usbd_core_type *udev);
  45. void usbd_eptn_handler(usbd_core_type *udev, usb_ept_number_type ept_num);
  46. void usbd_reset_handler(usbd_core_type *udev);
  47. void usbd_sof_handler(usbd_core_type *udev);
  48. void usbd_suspend_handler(usbd_core_type *udev);
  49. void usbd_wakeup_handler(usbd_core_type *udev);
  50. /**
  51. * @}
  52. */
  53. /**
  54. * @}
  55. */
  56. /**
  57. * @}
  58. */
  59. #ifdef __cplusplus
  60. }
  61. #endif
  62. #endif