rt-thread-official/bsp/gd32303e-eval/Libraries/GD32F30x_usbd_driver/Include/usbd_int.h

33 lines
604 B
C
Raw Normal View History

2018-05-21 11:13:46 +08:00
/*!
\file usbd_int.h
\brief USB device interrupt handler header file
*/
/*
Copyright (C) 2017 GigaDevice
2017-02-10, V1.0.0, firmware for GD32F30x
*/
#ifndef USBD_INT_H
#define USBD_INT_H
#include "usbd_core.h"
#include "usbd_std.h"
#include "usbd_pwr.h"
extern usbd_core_handle_struct usb_device_dev;
typedef struct
{
uint8_t (*SOF) (usbd_core_handle_struct *pudev); /*!< SOF ISR callback */
}usbd_int_cb_struct;
extern usbd_int_cb_struct *usbd_int_fops;
/* function declarations */
/* USB device interrupt service routine */
void usbd_isr (void);
#endif /* USBD_INT_H */