usbd_int.h 754 B

12345678910111213141516171819202122232425262728293031
  1. /*!
  2. \file usbd_int.h
  3. \brief USB device-mode interrupt handler header file
  4. */
  5. /*
  6. Copyright (C) 2016 GigaDevice
  7. 2016-08-15, V1.0.0, firmware for GD32F4xx
  8. */
  9. #ifndef USBD_INT_H
  10. #define USBD_INT_H
  11. #include "usbd_core.h"
  12. /* function declarations */
  13. /* USB device-mode interrupts global service routine handler */
  14. uint32_t usbd_isr (usb_core_handle_struct *pudev);
  15. #ifdef USBHS_DEDICATED_EP1_ENABLED
  16. /* USB dedicated OUT endpoint 1 interrupt service routine handler */
  17. uint32_t USBD_EP1OUT_ISR_Handler (usb_core_handle_struct *pudev);
  18. /* USB dedicated IN endpoint 1 interrupt service routine handler */
  19. uint32_t USBD_EP1IN_ISR_Handler (usb_core_handle_struct *pudev);
  20. #endif /* USBHS_DEDICATED_EP1_ENABLED */
  21. #endif /* USBD_INT_H */