aboutsummaryrefslogtreecommitdiffhomepage
path: root/workspace/ts100/inc/usb_pwr.h
diff options
context:
space:
mode:
authorBen V. Brown <[email protected]>2016-09-30 00:27:55 +1000
committerGitHub <[email protected]>2016-09-30 00:27:55 +1000
commit0b26e669af6d16fbdc5988558a702efdb35c116a (patch)
tree7261e77b4aab68a431c0d9eb3ea2d2056f8ca856 /workspace/ts100/inc/usb_pwr.h
parent278d29bf4c53587040c377045cd4e1c1868f5137 (diff)
downloadIronOS-0b26e669af6d16fbdc5988558a702efdb35c116a.tar.gz
IronOS-0b26e669af6d16fbdc5988558a702efdb35c116a.zip
Merge Dev into mainline (#1)v1.0
* Removing USB Need to refine the drive to the iron tip * Update README.md * * Rewrite all code from scratch * Only kept settings * New font * New PID * New Menus * Use Hardware I2C * Faster System * Better Heating Time * No USB * Full Menu System
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 ******************************/