GD32F1x0: USB/GD32_USB_Device_Library/Core/inc/usbd_pwr.h Source File

GD32F1x0

usbd_pwr.h
Go to the documentation of this file.
1 
11 /* Define to prevent recursive inclusion -------------------------------------*/
12 #ifndef __GD32F1X0_USBD_PWR_H
13 #define __GD32F1X0_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 #ifdef LPM_ENABLED
39  L1_RESUME_INTERNAL,
40 #endif
41  RESUME_LATER,
42  RESUME_ON,
43  RESUME_OFF,
44  RESUME_ESOF
45 }
46 RESUME_STATE;
47 
55 extern USB_CORE_HANDLE USB_Device_dev;
56 
64 void USBD_Suspend (void);
65 void USBD_Resume (RESUME_STATE ResumeValue);
66 
71 #endif /* __GD32F1X0_USBD_PWR_H */
72 
85 /************************ (C) COPYRIGHT 2014 GIGADEVICE *****END OF FILE****/
void USBD_Resume(RESUME_STATE ResumeValue)
Resume state machine handling.
Definition: usbd_pwr.c:148
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 by   doxygen 1.8.10