summaryrefslogtreecommitdiff
path: root/firmware/export/usb.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/usb.h')
-rw-r--r--firmware/export/usb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/export/usb.h b/firmware/export/usb.h
index ff85cb99ce..0c74efc9e2 100644
--- a/firmware/export/usb.h
+++ b/firmware/export/usb.h
@@ -178,6 +178,9 @@ struct usb_transfer_completion_event_data
178void usb_init(void) INIT_ATTR; 178void usb_init(void) INIT_ATTR;
179/* target must implement this to enable/disable the usb transceiver/core */ 179/* target must implement this to enable/disable the usb transceiver/core */
180void usb_enable(bool on); 180void usb_enable(bool on);
181/* when one or more driver requires exclusive mode, this is called after all threads have acknowledged
182 * exclusive mode and disk have been umounted; otherwise it is called immediately after host has
183 * been detected */
181void usb_attach(void); 184void usb_attach(void);
182/* enable usb detection monitoring; before this function is called, all usb 185/* enable usb detection monitoring; before this function is called, all usb
183 * detection changes are ignored */ 186 * detection changes are ignored */