GD32F10x USB-Device: E:/USB Libraries/GD32_USB_Device_Library/Core/inc/usbd_pwr.h Source File

GD32F103 Firmware

usbd_pwr.h
Go to the documentation of this file.
1 
11 /* Define to prevent recursive inclusion -------------------------------------*/
12 #ifndef __GD32F10X_USBD_PWR_H
13 #define __GD32F10X_USBD_PWR_H
14 
15 /* Includes ------------------------------------------------------------------*/
16 #include "usb_hwp.h"
17 #include "usb_core.h"
18 
34 typedef enum _RESUME_STATE
35 {
36  RESUME_EXTERNAL,
37  RESUME_INTERNAL,
38  RESUME_LATER,
39  RESUME_ON,
40  RESUME_OFF,
41  RESUME_ESOF
42 }
43 RESUME_STATE;
44 
52 extern USB_CORE_HANDLE USB_Device_dev;
53 
61 void USBD_Suspend (void);
62 void USBD_Resume (RESUME_STATE ResumeValue);
63 
68 #endif /* __GD32F10X_USBD_PWR_H */
69 
82 /************************ (C) COPYRIGHT 2014 GIGADEVICE *****END OF FILE****/
void USBD_Resume(RESUME_STATE ResumeValue)
Resume state machine handling.
Definition: usbd_pwr.c:142
void USBD_Suspend(void)
Set usb device to suspend mode.
Definition: usbd_pwr.c:110
Device Driver Header file.
Hardware platform configuration header file.
Generated on Fri Feb 6 2015 14:56:35 for GD32F10x USB-Device by   doxygen 1.8.8