aboutsummaryrefslogtreecommitdiffhomepage
path: root/workspace/ts100/inc/usb_pwr.h
diff options
context:
space:
mode:
Diffstat (limited to 'workspace/ts100/inc/usb_pwr.h')
-rw-r--r--workspace/ts100/inc/usb_pwr.h42
1 files changed, 0 insertions, 42 deletions
diff --git a/workspace/ts100/inc/usb_pwr.h b/workspace/ts100/inc/usb_pwr.h
deleted file mode 100644
index d1c167d6..00000000
--- a/workspace/ts100/inc/usb_pwr.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/******************** (C) COPYRIGHT 2015 e-Design Co., Ltd. ********************
- File Name : USB_pwr.h
- Version : STM32 USB Disk Ver 3.4 Author : MCD Application Team & bure
-*******************************************************************************/
-#ifndef __USB_PWR_H
-#define __USB_PWR_H
-
-#include "usb_core.h"
-
-typedef enum _RESUME_STATE
-{
- RESUME_EXTERNAL,
- RESUME_INTERNAL,
- RESUME_LATER,
- RESUME_WAIT,
- RESUME_START,
- RESUME_ON,
- RESUME_OFF,
- RESUME_ESOF
-} RESUME_STATE;
-
-typedef enum _DEVICE_STATE
-{
- UNCONNECTED,
- ATTACHED,
- POWERED,
- SUSPENDED,
- ADDRESSED,
- CONFIGURED
-} DEVICE_STATE;
-
-void Suspend(void);
-void Resume_Init(void);
-void Resume(RESUME_STATE eResumeSetVal);
-RESULT PowerOn(void);
-RESULT PowerOff(void);
-
-extern vu32 bDeviceState; /* USB device status */
-extern vu8 fSuspendEnabled; /* true when suspend is possible */
-
-#endif
-/********************************* END OF FILE ******************************/