File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -97,6 +97,11 @@ class USBDevice: public USBPhyEvents {
97
97
* Power down this instance
98
98
*
99
99
* Disable interrupts and stop sending events.
100
+ * This method can be used for temporary power-saving; This call can allow
101
+ * USB to be temporarily disabled to permit power saving.
102
+ * However, it is up to the user to make sure all the
103
+ * transfers have concluded (for example when USB power is lost).
104
+ * USBDevice::connect can be used to resume USB operation.
100
105
*/
101
106
void deinit ();
102
107
@@ -109,6 +114,8 @@ class USBDevice: public USBPhyEvents {
109
114
110
115
/* *
111
116
* Connect a device
117
+ * This method can also be used to resume USB operation when USB power is
118
+ * detected after it was suspended via USBDevice::deinit.
112
119
*/
113
120
void connect ();
114
121
You can’t perform that action at this time.
0 commit comments